From ac177009fb71c52a2f3590e5b447c6792f3ea151 Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Mon, 29 Jan 2024 21:40:51 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20=20Remove=20uneeded=20zsh?= =?UTF-8?q?=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/config.zsh | 23 ----------------------- zsh/fpath.zsh | 16 ---------------- 2 files changed, 39 deletions(-) delete mode 100644 zsh/config.zsh delete mode 100644 zsh/fpath.zsh 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