Skip to content

Commit

Permalink
bash: Set PATH in .bash_profile instead of .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
JIghtuse committed Jan 18, 2016
1 parent 666e710 commit 8493008
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions bash/.bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$HOME/.cargo/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/bin:$PATH

export PATH
1 change: 0 additions & 1 deletion bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ fi
# User specific aliases and functions
export PROMPT_COMMAND='ret=$?; if [ $ret -ne 0 ] ; then echo -e "returned \033[01;31m$ret\033[00;00m"; fi'
export CPPCHECK=$HOME/projects/cppcheck/cppcheck
export PATH=$HOME/.local/bin:$HOME/.cabal/bin:$PATH

c() {
cd "$1";
Expand Down

0 comments on commit 8493008

Please sign in to comment.