# Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=100000 setopt appendhistory autocd extendedglob bindkey -v # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/home/colin/.zshrc' autoload -Uz compinit compinit # End of lines added by compinstall # To allow autocomplete cd - DIRSTACKFILE="$HOME/.cache/zsh/dirs" if [[ -f $DIRSTACKFILE ]] && [[ $#dirstack -eq 0 ]]; then dirstack=( ${(f)"$(< $DIRSTACKFILE)"} ) [[ -d $dirstack[1] ]] && cd $dirstack[1] fi chpwd() { print -l $PWD ${(u)dirstack} >$DIRSTACKFILE } DIRSTACKSIZE=20 setopt autopushd pushdsilent pushdtohome ## Remove duplicate entries setopt pushdignoredups ## This reverts the +/- operators. setopt pushdminus autoload -U colors && colors setopt prompt_subst local parent_dir='%{$terminfo[bold]$fg[blue]%} ${PWD%/*}%{$reset_color%}' PROMPT="$parent_dir/%{$fg_no_bold[yellow]%}%1d%{$reset_color%} %#" source /home/colin/.alias if ! [ -f /tmp/xfce_running ] then touch /tmp/xfce_running [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startxfce4 fi