-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
31 lines (23 loc) · 797 Bytes
/
.zshrc
File metadata and controls
31 lines (23 loc) · 797 Bytes
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
. $HOME/.pathrc
. $HOME/.completions
. $HOME/.aliases
type mise > /dev/null && eval "$(mise activate zsh)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Optional private configuration, not in git
[ -f ~/.privaterc ] && source ~/.privaterc
type direnv > /dev/null && eval "$(direnv hook zsh)"
if [[ $- == *i* ]]; then
# Enable zoxide only in interactive mode
type zoxide > /dev/null && eval "$(zoxide init zsh)"
type zoxide > /dev/null && alias cd='z'
fi
type starship > /dev/null && eval "$(starship init zsh)"
# Vim keybindings
bindkey -v
# History (has to come after vim keybindings for history substring search bindings to work)
. $HOME/.historyrc
# Remove path separator from WORDCHARS.
WORDCHARS=${WORDCHARS//[\/]}
# Move to directories without cd
# setopt autocd
echo "👋 'ello!"