You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
# ~/.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'
|
|
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
|
|
|
|
# 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 <<<
|
|
|
|
|