avoid checking the mouse everytime
This commit is contained in:
parent
69d4cca748
commit
22ca6abe94
@ -59,7 +59,6 @@ case "$(uname -s)" in
|
||||
ln -snf ~/.config/Code/User/settings.json "~/Library/Application Support/Code/User/settings.json"
|
||||
ln -snf "~/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/Code/User/snippets" "~/Library/Application Support/Code/User/snippets"
|
||||
ln -snf "~/Library/Mobile Documents/com~apple~CloudDocs/Mackup/.mackup.cfg" ~/.mackup.cfg
|
||||
echo 'Install Docker Desktop for Mac OS X'
|
||||
~/.scripts/install_docker_for_mac.sh
|
||||
;;
|
||||
esac
|
||||
|
@ -2,4 +2,3 @@
|
||||
scriptfile=./connectmouse.applescript
|
||||
parentdir=$(dirname -- "$0")
|
||||
osascript "${parentdir}/${scriptfile}"
|
||||
|
@ -110,3 +110,10 @@ function biggerthan() {
|
||||
function cd() {
|
||||
builtin cd "$@" && ls -latr
|
||||
}
|
||||
function mouse() {
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
sh ~/.scripts/mouse_bluetooth.sh
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
10
dot_zshrc
10
dot_zshrc
@ -100,12 +100,10 @@ eval "$(fasd --init auto)"
|
||||
istherenewissues
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
~/.scripts/install_docker_for_mac.sh
|
||||
unlink "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
sh ~/.scripts/resume.sh
|
||||
;;
|
||||
Darwin)
|
||||
unlink "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
;;
|
||||
esac
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! https://github.com/sdkman/sdkman-cli/issues/613
|
||||
|
Loading…
Reference in New Issue
Block a user