diff --git a/.zshenv b/.zshenv index 29ed4ce..bd0cb8c 100644 --- a/.zshenv +++ b/.zshenv @@ -74,6 +74,17 @@ function p { cd ~/programs/$@ } function pj { cd ~/git-projects/$@ } export programs=~/programs +function nodesktopicon { + defaults write com.apple.finder CreateDesktop false + killall Finder +} + + +function desktopicon { + defaults write com.apple.finder CreateDesktop true + killall Finder +} + # python shortcuts alias pip=pip3 alias py=python diff --git a/functions.sh b/functions.sh index 3f13211..aa6f8b6 100644 --- a/functions.sh +++ b/functions.sh @@ -112,13 +112,3 @@ function pj { cd ~/git-projects/$@ } -function nodesktopicon { - defaults write com.apple.finder CreateDesktop false - killall Finder -} - - -function desktopicon { - defaults write com.apple.finder CreateDesktop true - killall Finder -}