Browse Source

Alias and function tweaks

master
Nick Plekhanov 9 years ago
parent
commit
423a7ef5ea
  1. 3
      git/gitconfig
  2. 2
      shell/shell_aliases

3
git/gitconfig

@ -251,3 +251,6 @@
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[fetch]
prune = true

2
shell/shell_aliases

@ -179,7 +179,7 @@ alias fs="stat -f \"%z bytes\""
# Empty the Trash on all mounted volumes and the main HDD.
# Also, clear Apple’s System Logs & the useless sleepimage to improve shell startup speed
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv $HOME/.Trash; sudo rm -rtv /private/var/log/asl/*.asl; sudo rm /private/var/vm/sleepimage"
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo grm -rf $HOME/.Trash; sudo rm -rtv /private/var/log/asl/*.asl; sudo rm /private/var/vm/sleepimage"
# Show/hide hidden files in Finder
alias showdotfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"

Loading…
Cancel
Save