You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
669 B
35 lines
669 B
# Instant prompt
|
|
# source "${XDG_CACHE_HOME:-~/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
|
|
# ZSH var
|
|
export ZSH=~/.oh-my-zsh
|
|
|
|
# Theme
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
# Aliases
|
|
source ~/.aliases
|
|
|
|
# Plugins
|
|
plugins=(git colorize docker yarn vscode sudo alias-finder archlinux zsh-histdb zsh-autosuggestions)
|
|
|
|
# Oh-my-zsh
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# Fzf variables
|
|
if type rg &> /dev/null; then
|
|
export FZF_DEFAULT_COMMAND='rg --files'
|
|
export FZF_DEFAULT_OPTS='-m --height 50% --border'
|
|
fi
|
|
|
|
export EDITOR="nvim"
|
|
|
|
# Keybinds
|
|
bindkey "^z" undo
|
|
bindkey "^y" redo
|
|
bindkey "^H" backward-kill-word
|
|
bindkey "^ " autosuggest-accept
|
|
|
|
# Powerlevel10k
|
|
source ~/.p10k.zsh
|