add aliases so stop and start parallels
This commit is contained in:
parent
0847a00714
commit
dbfda9162b
2 changed files with 9 additions and 11 deletions
|
@ -1,7 +1,9 @@
|
||||||
setupmac() {
|
# parallels
|
||||||
defaults write com.apple.dock expose-animation-duration -float 0.1
|
alias stoppar='pkill -SIGHUP -f /Applications/Parallels\ Desktop.app'
|
||||||
defaults write -g InitialKeyRepeat -int 12
|
alias startpar='open -a Parallels\ Desktop'
|
||||||
defaults write -g KeyRepeat -int 1
|
alias startparra='hc && open -a Parallels\ Desktop'
|
||||||
defaults write com.apple.Dock autohide-delay -float 0; killall Dock
|
alias stopparra='hc && pkill -SIGHUP -f /Applications/Parallels\ Desktop.app'
|
||||||
defaults write -g com.apple.mouse.scaling -integer -1
|
|
||||||
}
|
# docker
|
||||||
|
alias startdocker='open -a Docker'
|
||||||
|
alias stopdocker="pkill -SIGHUP -f /Applications/Docker.app 'docker serve'"
|
||||||
|
|
|
@ -55,7 +55,3 @@ hlst() { history | tail --lines=1 | cut -d " " -f 4-; }
|
||||||
cpy() { python -c "import sys, pyperclip; pyperclip.copy(sys.stdin.read().strip())"; }
|
cpy() { python -c "import sys, pyperclip; pyperclip.copy(sys.stdin.read().strip())"; }
|
||||||
lstc() { lst | cpy; }
|
lstc() { lst | cpy; }
|
||||||
hlstc() { hlst | cpy; }
|
hlstc() { hlst | cpy; }
|
||||||
|
|
||||||
# docker
|
|
||||||
alias startdocker='open -a Docker'
|
|
||||||
alias stopdocker="pkill -SIGHUP -f /Applications/Docker.app 'docker serve'"
|
|
||||||
|
|
Loading…
Reference in a new issue