Add osx aliases for quicklook, volume, say.
parent
00a4e6cc01
commit
56e15245a5
|
|
@ -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.'"
|
||||
Loading…
Reference in New Issue