Skip to content

Commit

Permalink
Merge pull request #11 from BleakleyMcD/main
Browse files Browse the repository at this point in the history
updated alias and functions
  • Loading branch information
BleakleyMcD authored Jun 13, 2022
2 parents 7981d17 + 9971dba commit 535ea54
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Binary file added .DS_Store
Binary file not shown.
7 changes: 5 additions & 2 deletions zshrc_alias
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ alias -g mkdir='mkdir -p'
alias -g diffy='diff -y --suppress-common-lines --width=250'
alias -g showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias -g hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias -g brewUp='brew update && brew upgrade && brew doctor'
alias -g brewUp='brew update && brew upgrade && brew doctor && brew cleanup'
alias -g treeL='tree -RapugD --si --du'
alias -g gpa='git-pull-all'
alias -g gpa='git-pull-all'
alias -g ga='git add --all'
alias -g gc='git commit --all'
alias -g text='open -a textedit'
8 changes: 4 additions & 4 deletions zshrc_functions
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ function nmaahcmm () {

# functions
# brew reinstall bashrc
function nmaahcbashrc () {
brew reinstall bashrc
function nmaahczshrc () {
brew reinstall zshrc
}

# make directories named after files
Expand Down Expand Up @@ -54,6 +54,6 @@ function sortk2 () {
}

function shortinfo() {
mediainfo --Inform="General;FileName=%FileNameExtension%\nFileSize=%FileSize%\nDuration=%Duration%" "${@}";
mediainfo --Inform="Video;Resolution=Codec=%CodecID%" "${@}";
mediainfo --Inform="General;FileName=%FileNameExtension%,FileSize=%FileSize%,Duration(ms),%Duration%\n" "${@}";
mediainfo --Inform="Video;Width=%Width%,Height=%Height%,Codec=%CodecID%\n" "${@}";
}

0 comments on commit 535ea54

Please sign in to comment.