diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 17:57:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 17:58:15 +0100 |
commit | 946496a44167289e924d925aacb2102e33862fe6 (patch) | |
tree | 352bc292e5cc1c3ae70787ad86bdbc9dabe0f542 /bash | |
parent | 1651d1670d25b06e852bbf907f467be2bdbaa20b (diff) | |
download | dotfiles-946496a44167289e924d925aacb2102e33862fe6.tar.gz dotfiles-946496a44167289e924d925aacb2102e33862fe6.tar.bz2 dotfiles-946496a44167289e924d925aacb2102e33862fe6.zip |
Add local Rust, Ruby, and Node bin directories to PATH
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bashrc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index b432b6b..9b72937 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -120,6 +120,18 @@ man() { man "$@" } +if [ -d "$HOME/.cargo/bin" ] ; then + PATH="$HOME/.cargo/bin:$PATH" +fi + +if [ -d "$HOME/.gem/ruby/2.6.0/bin" ] ; then + PATH="$HOME/.gem/ruby/2.6.0/bin:$PATH" +fi + +if [ -d "$HOME/.local/lib/node_modules/bin" ] ; then + PATH="$HOME/.local/lib/node_modules/bin:$PATH" +fi + # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$HOME/.local/bin:$PATH" |