1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 09:47:21 +01:00
dotfiles/aliases

22 lines
901 B
Plaintext
Raw Normal View History

# ----------------------------------------------------------------------
# ALIASES
# ----------------------------------------------------------------------
alias ll='ls -la'
# Get into some servers FAST. Server, user & port are in .ssh/config
alias krlc='ssh kremalicious'
# Update All The Things
2014-11-03 17:40:13 +01:00
alias update='update-everything.sh'
# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
2014-05-23 16:34:51 +02:00
# Empty the Trash on all mounted volumes and the main HDD
# Also, clear Apples System Logs to improve shell startup speed
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
# Show/hide hidden files in Finder
alias show="defaults write com.apple.Finder AppleShowAllFiles -bool TRUE && killall Finder"
alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool FALSE && killall Finder"