⚰️ Remove uneeded zsh files
This commit is contained in:
parent
6f4244d5b1
commit
ac177009fb
2 changed files with 0 additions and 39 deletions
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue