From 088bf0f1cfb22430d2239f655ea04b53a8ff1227 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 18 May 2016 02:56:59 -0400 Subject: [PATCH] Minor mac change --- shells/zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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