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.
dotfiles/bashrc

50 lines
1.6 KiB

3 years ago
# ~/.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'
3 years ago
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
3 years ago
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