From 946496a44167289e924d925aacb2102e33862fe6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Nov 2020 17:57:47 +0100 Subject: Add local Rust, Ruby, and Node bin directories to PATH --- bash/.bashrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bash') 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" -- cgit v1.2.1