move personal config from bash profile to bashrc

This commit is contained in:
Al-Hassan Abdel-Raouf 2022-03-02 13:17:35 +02:00
parent 398fbabec4
commit cb093c9ac2
2 changed files with 22 additions and 12 deletions

View File

@ -6,16 +6,4 @@
# User Information
export NAME="Al-Hassan Abdel-Raouf"
export EMAIL="alhassanaraouf@disroot.org"
# Default Programs
export VISUAL=vis
export EDITOR=$VISUAL
export BROWSER=lynx
#export TERM=xterm
export LYNX_CFG=~/.config/lynx/lynx.cfg

22
.bashrc
View File

@ -5,5 +5,27 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# User Information
export NAME="Al-Hassan Abdel-Raouf"
export EMAIL="alhassanaraouf@disroot.org"
# Default Programs
export VISUAL=vis
export EDITOR=$VISUAL
export BROWSER=lynx
#export TERM=xterm
export LYNX_CFG=~/.config/lynx/lynx.cfg
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
PATH=~/.config/composer/vendor/bin/:$PATH
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
PATH=~/.config/composer/vendor/bin/:$HOME/scripts:$PATH