-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
70 lines (55 loc) · 1.72 KB
/
.zshrc
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
#,-------. ,--.
#`--. / ,---. | ,---.
# / / ( .-' | .-. |
# / `--..-' `)| | | |,----.
#`-------'`----' `--' `--''----'
# @Mnpr -------------------------------------------------------
## Bash ( $PATH ) ------------------------------------------
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="lambda"
# Display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
## PlugIns --------------------------------------------------
plugins=(
colored-man-pages
gh
nvm
python
rust
)
## Aliases
alias expy="conda activate expy"
alias base="conda activate base"
alias ga="git add"
alias gc="git commit"
alias gs="git status"
alias gl="git log"
alias space="cd ~/Workspace/"
alias vced="cd ~/Workspace/Vced/"
alias learn="cd ~/Workspace/Learning/"
alias cat="batcat"
alias vi="nvim"
alias zshconfig="vi ~/.zshrc"
alias update="sudo apt update && apt list --upgradable"
alias upgrade="sudo apt upgrade"
export PATH="$PATH:/opt/nvim-linux64/bin"
source $ZSH/oh-my-zsh.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/tux/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/tux/miniforge3/etc/profile.d/conda.sh" ]; then
. "/home/tux/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/home/tux/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<