diff --git a/bash_profile b/bash_profile index 2861cef..23351dc 100644 --- a/bash_profile +++ b/bash_profile @@ -94,6 +94,7 @@ update(){ echo -e "${yellow}Updating installed sources(MacPorts)${none}" sudo port upgrade outdated & /dev/null fi + sudo port uninstall inactive } save_dotfiles(){ diff --git a/zshrc b/zshrc index 8cafcdd..d53b3d4 100644 --- a/zshrc +++ b/zshrc @@ -174,6 +174,7 @@ osx_upgrade_local () { if [ -x /opt/local/bin/gem ] ; then sudo /opt/local/bin/gem update fi + sudo port uninstall inactive fi if [ -d /Library/Application\ Support/TextMate/Bundles ]; then pushd /Library/Application\ Support/TextMate/Bundles