diff --git a/shells/zshrc b/shells/zshrc index a1b23f8..aa2fca4 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -20,7 +20,6 @@ if [ -f /etc/zsh_command_not_found ] ; then source /etc/zsh_command_not_found fi export DISABLE_AUTO_TITLE=true -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$(readlink -e ~/bin)" export EDITOR='vim' # For pasting in commands that start with $ $ () { @@ -120,6 +119,7 @@ alias etup='sudo etc-update' alias search='apt-cache search' if [ "$(uname)" != "Darwin" ]; then # Not Mac + export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$(readlink -e ~/bin)" alias ls='ls --color=always -F' alias steamo='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' alias matlab='matlab -glnx86' @@ -127,6 +127,8 @@ if [ "$(uname)" != "Darwin" ]; then if command -v greadlink 2>&1 >/dev/null; then alias readlink='greadlink' fi +else + export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:~/bin" fi if test -f /etc/gentoo-release; then # Gentoo