fix path in tmux
parent
e4b2b3886d
commit
945be41bee
2
zprofile
2
zprofile
|
@ -1,3 +1 @@
|
||||||
xbindkeys &> /dev/null
|
xbindkeys &> /dev/null
|
||||||
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
|
|
19
zshrc
19
zshrc
|
@ -7,14 +7,14 @@ else
|
||||||
export TERM='screen-256color'
|
export TERM='screen-256color'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Customl binaries
|
# Custom binaries
|
||||||
|
if [[ -z $TMUX ]]; then
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
|
export GOPATH=$HOME/go
|
||||||
export PATH=$HOME/.local/share/flatpak/exports/bin:$PATH
|
export PATH=$HOME/.local/share/flatpak/exports/bin:$PATH
|
||||||
export PATH=$HOME/.local/minecraft-launcher:$PATH
|
export PATH=$HOME/.local/minecraft-launcher:$PATH
|
||||||
export PATH=/usr/local/go/bin:$PATH
|
fi
|
||||||
export PATH=$HOME/go/bin:$PATH
|
|
||||||
export GOPATH=$HOME/go
|
|
||||||
|
|
||||||
# ZSH
|
# ZSH
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
|
@ -55,13 +55,18 @@ if [ -z "$SSH_CONNECTION" ] && [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Also do this to prevent incorrect path ordering in tmux:
|
||||||
|
# https://apple.stackexchange.com/questions/248813/tmux-always-modify-my-zsh-path
|
||||||
if [[ "$OSTYPE" == 'darwin'* ]]; then
|
if [[ "$OSTYPE" == 'darwin'* ]]; then
|
||||||
export CLICOLOR=YES
|
export CLICOLOR=YES
|
||||||
|
export GEM_HOME=/Users/paul.walko/.gem
|
||||||
|
export OPENSC_LIBS=/usr/local/lib
|
||||||
|
if [[ -z $TMUX ]]; then
|
||||||
|
export PATH=$GEM_HOME/bin:$PATH
|
||||||
|
export PATH=$HOME/.linkerd2/bin:$PATH
|
||||||
export PATH=/usr/local/opt/python/libexec/bin:$PATH
|
export PATH=/usr/local/opt/python/libexec/bin:$PATH
|
||||||
export PATH=/usr/local/opt/ncurses/bin:$PATH
|
export PATH=/usr/local/opt/ncurses/bin:$PATH
|
||||||
export PATH=$PATH:$HOME/.linkerd2/bin
|
fi
|
||||||
export OPENSC_LIBS=/usr/local/lib
|
|
||||||
source $HOME/.cargo/env
|
|
||||||
elif [[ "$OSTYPE" == 'linux-gnu' ]]; then
|
elif [[ "$OSTYPE" == 'linux-gnu' ]]; then
|
||||||
eval `dircolors ~/.config/dircolors-solarized/dircolors.256dark`
|
eval `dircolors ~/.config/dircolors-solarized/dircolors.256dark`
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue