-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_zshrc
50 lines (43 loc) · 1.38 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
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin/
export ZSH=$HOME/.zsh
export ZSH_THEME="spaceship"
zstyle ':omz:update' mode disabled
plugins=(
zoxide history dirhistory history-substring-search zsh-autosuggestions
alias-tips alias-finder
ag extract ssh-agent keychain gpg-agent
git git-extras gh
python pip pep8 autopep8
gcloud httpie docker docker-compose
1password vscode
)
unamestr=$(uname)
if [[ "$unamestr" == 'Linux' ]]; then
plugins=(
debian
)
elif [[ "$unamestr" == 'Darwin' ]]; then
plugins+=(
macos
)
fi
# Configuration
zstyle :omz:plugins:keychain agents gpg,ssh
export COMPLETION_WAITING_DOTS="false"
export DISABLE_UNTRACKED_FILES_DIRTY="true"
export ENHANCD_FILTER="fzf --preview='exa --tree --group-directories-first --git-ignore --level 1 {}'"
export ENHANCD_ENABLE_DOUBLE_DOT="false"
export ENHANCD_HOOK_AFTER_CD="ls -a"
export ZSH_ALIAS_FINDER_AUTOMATIC=true
source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh/custom/plugins/enhancd/init.sh
eval "$(/opt/homebrew/bin/brew shellenv)"
source "${HOME}/.zshrc.local"
alias ls="lsd"
alias l='ls -l'
alias la='ls -a'
alias lla='ls -la'
alias lt='ls --tree'
# Extras
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"