-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
43 lines (33 loc) · 928 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
43
###
# Arch Linux zshrc conf
###
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# set the theme terminal theme correctly
# needed to see command hinting against background
~/bin/wal_setter.sh $(head -n 2 ~/.config/wallpaper)
export EDITOR=nvim
# use vim bindings in prompmt
set -o vi
# git configurations
export LESS="-R" # fixes colouring on git graph
# enable fuzzyfind
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
source $HOME/.aliases
source $HOME/.config/skim/completion.zsh
source $HOME/.config/skim/key-bindings.zsh
# zoptions
setopt rmstarsilent
setopt histignoredups
# key binds
bindkey '^n' autosuggest-accept
eval "$(oh-my-posh init zsh --config ~/.config/prompts/blue-owl.omp.json)"
# pnpm
export PNPM_HOME="/home/ragnyll/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end