-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
55 lines (40 loc) · 1.48 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
#====[ Antigen ]====
f="/usr/local/share/antigen/antigen.zsh"; [ -f "$f" ] && source "$f"
f="/opt/homebrew/share/antigen/antigen.zsh"; [ -f "$f" ] && source "$f"
f="/usr/share/zsh-antigen/antigen.zsh"; [ -f "$f" ] && source "$f"
antigen use oh-my-zsh
antigen bundle vi-mode
antigen bundle git
# antigen bundle docker
# antigen bundle docker-compose
# antigen bundle helm
# antigen bundle kubectl
# antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
# antigen bundle chisui/zsh-nix-shell
antigen theme robbyrussell
antigen apply
#====[/ Antigen ]====
export PATH="/usr/local/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/sbin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
#====[ FNM ]====
export PATH="$HOME/.fnm:$PATH"
eval "`fnm env`"
#====[ Nix ]====
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
#====[ Google Cloud SDK ]====
export CLOUDSDK_PYTHON="python3"
if [ -f "$HOME/google-cloud-sdk/path.zsh.inc" ]; then . "$HOME/google-cloud-sdk/path.zsh.inc"; fi
if [ -f "$HOME/google-cloud-sdk/completion.zsh.inc" ]; then . "$HOME/google-cloud-sdk/completion.zsh.inc"; fi
#====[ Rust / Cargo ]====
. "$HOME/.cargo/env"
#====[ FZF ]====
f="${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh; [ -f "$f" ] && source "$f"
# _l_ess with std_e_rr
function le() { COLUMNS=$COLUMNS "$@" 2>&1 | less -S }
# echo "PATH:"
# echo "$PATH" | sed 's/:/\n/g'