From 6e239a0f941feba7f172155fd3c1ef7e418e59ba Mon Sep 17 00:00:00 2001 From: marc Date: Fri, 5 Feb 2021 13:48:07 +0000 Subject: [PATCH] moved desktop icon commands --- .zshenv | 11 +++++++++++ functions.sh | 10 ---------- 2 files changed, 11 insertions(+), 10 deletions(-) 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 -}