Minor mac change

This commit is contained in:
Austen Adler 2016-05-18 02:56:59 -04:00
parent 465423bc81
commit 088bf0f1cf

View File

@ -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