-
Notifications
You must be signed in to change notification settings - Fork 1
/
dotbashrc_MEF
77 lines (69 loc) · 2.08 KB
/
dotbashrc_MEF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
#easy use aliases
alias ..='cd ..'
alias ...='cd ../../'
alias ls='ls --color=auto'
alias diff='colordiff'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias ubup='sudo apt update && sudo apt upgrade && sudo apt autoremove'
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('$HOME/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "$HOME/anaconda3/etc/profile.d/conda.sh" ]; then
. "$HOME/anaconda3/etc/profile.d/conda.sh"
else
export PATH="$HOME/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
conda config --set auto_activate_base false
#### Dana Group work #####
# RMG-Py
export rmgpy_path=~/Code/RMG-Py/
export rmgdb_path=~/Code/RMG-database/
export PYTHONPATH=$PYTHONPATH:~/Code/RMG-Py/
# ARC
export arc_path=~/Code/ARC/
export PYTHONPATH=$PYTHONPATH:~/Code/ARC/
# T3
export t3_path=~/Code/T3/
export PYTHONPATH=$PYTHONPATH:~/Code/T3/
# TCKDB
export tckdb_path=~/Code/TCKDB/
export PYTHONPATH=$PYTHONPATH:~/Code/TCKDB/
# personalized aliases
alias rc='source ~/.bashrc'
alias rce='vim ~/.bashrc'
alias rmge='conda activate rmg_env'
alias arce='conda activate arc_env'
alias tcke='conda activate tck_env'
alias t3e='conda activate t3_env'
alias deact='conda deactivate'
alias rmgcode='cd $rmgpy_path'
alias dbcode='cd $rmgdb_path'
alias arcode='cd $arc_path'
alias t3code='cd $t3_path'
alias tckcode='cd $tckdb_path'
alias j='cd ~/Code/scripts && jupyter notebook'
alias rmg='python ${rmgpy_path}rmg.py input.py'
alias arkane='python ${rmgpy_path}Arkane.py input.py'
alias arc='python ${arc_path}ARC.py input.yml'
alias t3='python ${t3_path}T3.py input.yml'