diff --git a/zsh/.zshrc b/zsh/.zshrc index 9b99b78..22c14bd 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -18,27 +18,28 @@ zstyle ':completion:*' list-colors '' # fancy stuff only in X or ssh if [[ ! $(tty) =~ /dev/tty[0-9] ]]; then - # aliases source $ZDOTDIR/aliases.zsh - # plugins & addons [ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $ZDOTDIR/fzf.zsh source $ZDOTDIR/modules/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - export WD_CONFIG=$XDG_CONFIG_HOME/wd_list - wd () { - . $ZDOTDIR/modules/wd/wd.sh - } - fpath=($ZDOTDIR/modules/wd $fpath) - # theme source $ZDOTDIR/p10k.zsh source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme 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 +else + alias ll="ls -l" + alias vim="nvi" fi +export WD_CONFIG=$XDG_CONFIG_HOME/wd_list +wd () { + . $ZDOTDIR/modules/wd/wd.sh +} +fpath=($ZDOTDIR/modules/wd $fpath) + # local settings source ~/.local/settings/zsh autoload -U compinit && compinit -d $XDG_DATA_HOME/zsh/zcompdump