Add omz settings

This commit is contained in:
rakete 2022-02-13 14:08:53 +01:00
parent bed017d5ef
commit acae8077d2

View File

@ -1,11 +1,14 @@
# Luke's config for the Zoomer Shell
export ZSH="~/.config/zsh/oh-my-zsh"
export ZSH="$HOME/.config/zsh/oh-my-zsh"
# History in cache directory:
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE=~/.cache/zsh/history
ZSH_THEME="agnoster"
DEFAULT_USER=$(whoami)
# Load aliases and shortcuts if existent.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
@ -28,6 +31,8 @@ bindkey -v '^?' backward-delete-char
echo -ne '\e[5 q' # Use beam shape cursor on startup.
preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
plugins=(git colored-man-pages)
source $ZSH/oh-my-zsh.sh
# Load syntax highlighting; should be last.