From 3a5e98e2ee3337d128da4da29af795d850deb9b4 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 22 Sep 2023 16:43:45 +0100 Subject: Moved PATH stuff to bash_profile --- bash_profile | 14 ++++++++++++++ bashrc | 9 --------- 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 bash_profile diff --git a/bash_profile b/bash_profile new file mode 100644 index 0000000..ffa9be1 --- /dev/null +++ b/bash_profile @@ -0,0 +1,14 @@ +# Setting PATH +export PATH=~/.cargo/bin:$PATH +export PATH=~/bin/:$PATH +export PATH="$HOME/gems/bin:$PATH" +export PATH="$HOME/go/bin:$PATH" +export PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH" +export PATH="$HOME/.local/bin:$PATH" +export PATH="/opt/pycharm-2021.3.3/bin:$PATH" + + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +# perlbrew +source ~/perl5/perlbrew/etc/bashrc diff --git a/bashrc b/bashrc index 352484b..73a4d69 100644 --- a/bashrc +++ b/bashrc @@ -20,10 +20,6 @@ export PS1='\[\033[01;32m\]$\u@\h:\w\$\[\033[0m\] ' # echo "output" >| file.txt to do it manually set -o noclobber -# Setting PATH -export PATH=~/.cargo/bin:$PATH -export PATH=~/bin/:$PATH - # nvim as vim #alias vim='/usr/bin/nvim' # alias vi='/usr/bin/vim' @@ -302,8 +298,3 @@ append_to_masterlist() { # export LS_COLORS="$LS_COLORS:di=1;33" # Install Ruby Gems to ~/gems export GEM_HOME="$HOME/gems" -export PATH="$HOME/gems/bin:$PATH" -export PATH="$HOME/go/bin:$PATH" -export PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH" -export PATH="$HOME/.local/bin:$PATH" -export PATH="/opt/pycharm-2021.3.3/bin:$PATH" -- cgit v1.2.3