aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-09-22 16:43:45 +0100
committerMatthew Lemon <y@yulqen.org>2023-09-22 16:43:45 +0100
commit3a5e98e2ee3337d128da4da29af795d850deb9b4 (patch)
tree11e19c16a79e42e62d5b2593e8ebe6ceca91f5eb
parentdd46328e606c53e8b31f280b31dd7cce8b900d5c (diff)
Moved PATH stuff to bash_profile
Diffstat (limited to '')
-rw-r--r--bash_profile14
-rw-r--r--bashrc9
2 files changed, 14 insertions, 9 deletions
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"