diff --git a/zsh/config.zsh b/zsh/config.zsh deleted file mode 100644 index f7b20d8..0000000 --- a/zsh/config.zsh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env zsh - -export EDITOR=nvim -export VISUAL="$EDITOR" - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -HISTFILE=~/.zsh_history -HISTSIZE=10000 -SAVEHIST=10000 - -# https://linux.die.net/man/1/zshoptions -setopt LOCAL_OPTIONS # allow functions to have local options -setopt LOCAL_TRAPS # allow functions to have local traps - -setopt PROMPT_SUBST # perform expansion & subsitution in prompts - -setopt HIST_VERIFY # perform history expansion (see man page linked above) -setopt HIST_IGNORE_ALL_DUPS # delete older duplicates -setopt HIST_REDUCE_BLANKS # remove superfluous blanks -setopt SHARE_HISTORY # share history between sessions via the $HISTFILE - -setopt COMPLETE_ALIASES # don't expand aliases before attempting completion diff --git a/zsh/fpath.zsh b/zsh/fpath.zsh deleted file mode 100644 index aeb8514..0000000 --- a/zsh/fpath.zsh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env zsh - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -if [[ -d "$DOT/functions" ]]; then - fpath=($DOT/functions $fpath) - { autoload -U $DOT/functions/*(:t); } &> /dev/null -fi - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# Add each topic folder to fpath so that they can -# add functions and completion scripts. -for topic_folder ($DOT/*) if [ -d $topic_folder ]; then - fpath=($topic_folder $fpath) -fi