-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathactivate
26 lines (20 loc) · 970 Bytes
/
activate
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
# ###############################################################
# STANDARD-SECTION: SETUP
# ###############################################################
# Set home path
export PYESSV_LIB_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PYESSV_LIB_HOME="$( cd "$( dirname "${PYESSV_LIB_HOME[0]}" )" && pwd )"
# Set archive directory.
mkdir -p $HOME/.esdoc/pyessv-archive
# ###############################################################
# STANDARD-SECTION: OPERATIONS
# ###############################################################
# Ensure shell scripts are executable.
chmod a+x $PYESSV_LIB_HOME/sh/*.sh
# ###############################################################
# STANDARD-SECTION: ALIASES
# ###############################################################
# Core commands.
alias pyessv-list=$PYESSV_LIB_HOME/sh/list.sh
alias pyessv-run-notebooks=$PYESSV_LIB_HOME/sh/run_notebooks.sh
alias pyessv-pipify=$PYESSV_LIB_HOME/sh/pipify.sh