-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
30 lines (23 loc) · 1.14 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
# Need these to fix tmux interacting poorly with autocomplete/omp
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
bindkey '^I' menu-complete
bindkey "$terminfo[kcbt]" reverse-menu-complete
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
#eval "$(oh-my-posh init zsh --config $(brew --prefix oh-my-posh)/themes/catppuccin.omp.json)"
eval "$(oh-my-posh init zsh --config ~/.ksm_theme.omp.json)"
fi
alias ls="/opt/homebrew/opt/coreutils/libexec/gnubin/ls --color --group-directories-first"
alias ll="ls --group-directories-first -GFlash"
alias l.="ls -ld .?*"
alias cp="/opt/homebrew/opt/coreutils/libexec/gnubin/cp"
alias ggraph='git log --graph --pretty="%C(Yellow)%h %C(reset)%ad (%C(Green)%cr%C(reset))%x09 %C(Cyan)%an: %C(reset)%s %C(auto)%d" --date=short'
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
# control left and right to jump words
bindkey "^[[1;3D" backward-word
bindkey "^[[1;3C" forward-word
export HOMEBREW_NO_AUTO_UPDATE=1
eval "$(uv generate-shell-completion zsh)"
eval "$(uvx --generate-shell-completion zsh)"