Merge pull request #424 from musophob/master
Add osx aliases for quicklook, volume, say.pull/428/head
commit
e800a684f9
|
|
@ -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
|
# From http://apple.stackexchange.com/questions/110343/copy-last-command-in-terminal
|
||||||
alias copyLastCmd='fc -ln -1 | awk '\''{$1=$1}1'\'' ORS='\'''\'' | pbcopy'
|
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