Add bin dir for helper scripts

This commit is contained in:
lhark 2019-11-18 18:31:07 +00:00
parent 57902c088b
commit 8701a5ba6b

8
zshrc
View file

@ -11,7 +11,10 @@
# Uncomment this line for perfomance analysis
#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
if which ruby >/dev/null && which gem >/dev/null; then
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 PKG_CONFIG_PATH="/opt/ros/indigo/lib/pkgconfig:$PKG_CONFIG_PATH"
# Get rc dir path
RC_PATH=$(dirname "$(readlink -f ${(%):-%x})")
# Import utility functions
# Colors needed for the prompt definition
autoload -U colors