-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbashrc_jasmin
More file actions
39 lines (32 loc) · 1.04 KB
/
bashrc_jasmin
File metadata and controls
39 lines (32 loc) · 1.04 KB
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
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/users/jamd1/miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/users/jamd1/miniforge3/etc/profile.d/conda.sh" ]; then
. "/home/users/jamd1/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/home/users/jamd1/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
if [ -f "/home/users/jamd1/miniforge3/etc/profile.d/mamba.sh" ]; then
. "/home/users/jamd1/miniforge3/etc/profile.d/mamba.sh"
fi
# <<< conda initialize <<<
# JOSH EDITS 7/4/2025 - start
# Activate conda environment and launch Jupyter lab
jupyter_jasmin(){
conda activate myenv
jupyter lab --no-browser --port=8181
}
# JOSH EDITS 7/4/2025 - end