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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

35 lines
669 B

3 years ago
# 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"
3 years ago
# Keybinds
bindkey "^z" undo
bindkey "^y" redo
bindkey "^H" backward-kill-word
bindkey "^ " autosuggest-accept
# Powerlevel10k
source ~/.p10k.zsh