-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
42 lines (31 loc) · 828 Bytes
/
.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
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="ys"
plugins=(git kubectl zsh-syntax-highlighting dotenv)
source "$ZSH"/oh-my-zsh.sh
add-to-path() {
for p in $@; do
export PATH="$p:$PATH"
done
}
add-to-path \
"$HOME/.local/bin" \
"$HOME/.ghcup/bin" \
"$HOME/.cabal/bin" \
"$HOME/.cargo/bin" \
"$HOME/.nimble/bin" \
"$HOME/go/bin" \
"$HOME/esp/xtensa-esp32-elf/bin"
alias reload="source ~/.zshrc"
alias gummit="zsh ~/utility-scripts/gummit.sh"
alias clip="xclip -selection clipboard"
alias cd="z"
alias cdi="zi"
alias ls="exa"
ls ~/.localzshrc &>/dev/null && source ~/.localzshrc
[ -f "/Users/macbookpro/.ghcup/env" ] && source "/Users/macbookpro/.ghcup/env" # ghcup-env. $HOME/.ghcup/env
source ~/utility-scripts/f.sh
eval "$(zoxide init zsh)"
FILE="$HOME/.zshrc-local"
if test -f "$FILE"; then
source "$FILE"
fi