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.

46 lines
1.2 KiB

# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
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"
export EDITOR="nvim"
3 years ago
export PNPM_HOME="/home/guus/.local/share/pnpm"
export PYTHON_HOME="/home/guus/.local/bin"
export PATH="$PNPM_HOME:$PYTHON_HOME:$PATH"
# Aliases
source ~/.aliases
3 years ago
# Plugins
2 years ago
plugins=(git colorize docker yarn debian vscode sudo alias-finder archlinux zsh-histdb zsh-autosuggestions zoxide wakeonlan zsh-syntax-highlighting)
3 years ago
# 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
3 years ago
# Keybinds
bindkey "^z" undo
bindkey "^y" redo
bindkey "^H" backward-kill-word
bindkey "^ " autosuggest-accept
# Powerlevel10k
source ~/.p10k.zsh