Add osx aliases for quicklook, volume, say.

pull/424/head
Sean Henderson 2015-03-17 01:13:45 +02:00
parent 00a4e6cc01
commit 56e15245a5
1 changed files with 11 additions and 0 deletions

View File

@ -41,3 +41,14 @@ alias hidehidden="defaults write com.apple.finder AppleShowAllFiles FALSE"
# From http://apple.stackexchange.com/questions/110343/copy-last-command-in-terminal
alias copyLastCmd='fc -ln -1 | awk '\''{$1=$1}1'\'' ORS='\'''\'' | pbcopy'
# Use Finder's Quick Look on a file (^C or space to close)
alias ql='qlmanage -p 2>/dev/null'
# Mute/Unmute the system volume. Plays nice with all other volume settings.
alias mute="osascript -e 'set volume output muted true'"
alias unmute="osascript -e 'set volume output muted false'"
# Pin to the tail of long commands for an audible alert after long processes
## curl http://downloads.com/hugefile.zip; lmk
alias lmk="say 'Process complete.'"