-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshrc
46 lines (33 loc) · 1.08 KB
/
dot_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
export HISTSIZE=1000000000
export SAVEHIST=$HISTSIZE
setopt EXTENDED_HISTORY
export EDITOR='nvim'
function set_win_title() {
echo -ne "\033]0; $(echo $USER)@$(hostname -s):$(dirs) \007"
}
precmd_functions+=(set_win_title)
function update_all() {
git -C ~zsh-autocomplete pull
git -C ${HOME}/clones/alacritty pull
git -C ${HOME}/clones/zellij pull
chezmoi upgrade
brew update && brew upgrade
}
alias lg='lazygit'
alias ls='lsd'
alias l='lsd -lah'
alias e='nvim'
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
ZVM_VI_INSERT_ESCAPE_BINDKEY=jk
source ${HOME}/.cargo/env
source $(brew --prefix)/opt/asdf/libexec/asdf.sh
source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
zvm_after_init_commands+=('[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh')
source ${HOME}/clones/zsh-autocomplete/zsh-autocomplete.plugin.zsh
export KALEIDOSCOPE_DIR=${HOME}/clones/Kaleidoscope
export PATH="$PATH:/Users/thanats/Library/Python/3.9/bin"
export PATH="$PATH:/Users/thanats/.local/bin"
export PATH="$PATH:/usr/local/go/bin"
export GOPATH=$HOME/go
source ~/.zshrc.local