Add bin dir for helper scripts
This commit is contained in:
parent
57902c088b
commit
8701a5ba6b
1 changed files with 4 additions and 4 deletions
8
zshrc
8
zshrc
|
@ -11,7 +11,10 @@
|
||||||
# Uncomment this line for perfomance analysis
|
# Uncomment this line for perfomance analysis
|
||||||
#zmodload zsh/zprof
|
#zmodload zsh/zprof
|
||||||
|
|
||||||
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin:/opt/cuda/bin:~/.cargo/bin:~/go/bin
|
# Get rc dir path
|
||||||
|
RC_PATH=$(dirname "$(readlink -f ${(%):-%x})")
|
||||||
|
|
||||||
|
export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin:$RC_PATH/bin:~/bin:/opt/cuda/bin:~/.cargo/bin:~/go/bin"
|
||||||
# Add ruby gems to path
|
# Add ruby gems to path
|
||||||
if which ruby >/dev/null && which gem >/dev/null; then
|
if which ruby >/dev/null && which gem >/dev/null; then
|
||||||
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
||||||
|
@ -38,9 +41,6 @@ source /opt/ros/indigo/setup.zsh > /dev/null 2>&1
|
||||||
export PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages:$PYTHONPATH
|
export PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages:$PYTHONPATH
|
||||||
export PKG_CONFIG_PATH="/opt/ros/indigo/lib/pkgconfig:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="/opt/ros/indigo/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
|
|
||||||
# Get rc dir path
|
|
||||||
RC_PATH=$(dirname "$(readlink -f ${(%):-%x})")
|
|
||||||
|
|
||||||
# Import utility functions
|
# Import utility functions
|
||||||
# Colors needed for the prompt definition
|
# Colors needed for the prompt definition
|
||||||
autoload -U colors
|
autoload -U colors
|
||||||
|
|
Loading…
Reference in a new issue