|
|
|
# ~/.bashrc
|
|
|
|
#
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
|
|
|
if [[ -f ~/.bash_home ]]; then
|
|
|
|
. ~/.bash_home
|
|
|
|
fi
|
|
|
|
|
|
|
|
# later switch to emacs client when the emacs server is running
|
|
|
|
alias emacs='emacsclient -ct --eval "(load \"~/.emacs\")"'
|
|
|
|
alias killEmacs='systemctl --user disable --now emacs'
|
|
|
|
alias startEmacs='systemctl --user enable --now emacs'
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias diff='diff --color=auto'
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias cp="rsync -r --progress"
|
|
|
|
alias mv="rsync -aP --remove-source-files"
|
|
|
|
|
|
|
|
export PATH=/home/local/ASUAD/rhnatysh/ParaView/install/bin:$PATH
|
|
|
|
|
|
|
|
export FLASK_ENV=development
|
|
|
|
# paraview Python module path vars
|
|
|
|
export LD_LIBRARY_PATH=/home/local/ASUAD/rhnatysh/ParaView/install/lib:$LD_LIBRARY_PATH
|
|
|
|
export PYTHONPATH=/home/local/ASUAD/rhnatysh/ParaView/install/lib/python3.8/site-packages/:$PYTHONPATH
|
|
|
|
|
|
|
|
GREEN="\[$(tput setaf 4)\]"
|
|
|
|
GREENER="\[$(tput setaf 2)\]"
|
|
|
|
RESET="\[$(tput sgr0)\]"
|
|
|
|
|
|
|
|
PS1="${GREEN}\u@\h ${GREENER}\W ${RESET}> "
|
|
|
|
|
|
|
|
# >>> conda initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
|
|
__conda_setup="$('/home/local/ASUAD/rhnatysh/Apps/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
eval "$__conda_setup"
|
|
|
|
else
|
|
|
|
if [ -f "/home/local/ASUAD/rhnatysh/Apps/miniconda3/etc/profile.d/conda.sh" ]; then
|
|
|
|
. "/home/local/ASUAD/rhnatysh/Apps/miniconda3/etc/profile.d/conda.sh"
|
|
|
|
else
|
|
|
|
export PATH="/home/local/ASUAD/rhnatysh/Apps/miniconda3/bin:$PATH"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
unset __conda_setup
|
|
|
|
# <<< conda initialize <<<
|
|
|
|
|
|
|
|
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
|