-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
47 lines (39 loc) · 1.27 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
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# aliases
alias lls='ls -ltr'
alias ll='ls -l'
alias k='kubectl'
alias tmux='tmux -u'
alias tmat='tmux new-session -ADs main'
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
# compinstall
zstyle :compinstall filename '/home/aayoubi/.zshrc'
autoload -Uz compinit
compinit
autoload -U select-word-style
select-word-style bash
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
autoload -U compinit && compinit
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/aayoubi/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/aayoubi/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/aayoubi/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/aayoubi/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<