From 4be2fb4e53dfd1493dc0e4603f2dbf005bea9a09 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Thu, 6 May 2021 12:13:43 -0400 Subject: remove zsh --- dot_zsh/plugins/fuzzy | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 dot_zsh/plugins/fuzzy (limited to 'dot_zsh/plugins/fuzzy') diff --git a/dot_zsh/plugins/fuzzy b/dot_zsh/plugins/fuzzy deleted file mode 100644 index 22ee30d..0000000 --- a/dot_zsh/plugins/fuzzy +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/zsh -(( $+commands[fd] )) || return # find(1) sucks, not worth without fd - -# if it's not set yet, set it -[[ -z $fuzzy_command ]] && (( $+commands[fzf] )) && fuzzy_command=fzf -[[ -z $fuzzy_command ]] && (( $+commands[sk] )) && fuzzy_command=sk - -local FUZZY_DEFAULT='fd -t f' -local FUZZY_ALT_C='fd -t d' -local FUZZY_CTRL_T="$FUZZY_DEFAULT" - -case $fuzzy_command in - fzf) - export FZF_DEFAULT_COMMAND="$FUZZY_DEFAULT" - export FZF_ALT_C_COMMAND="$FUZZY_ALT_C" - export FZF_CTRL_T_COMMAND="$FUZZY_CTRL_T" - . /usr/share/fzf/**/*.zsh - ;; - sk) - export SKIM_DEFAULT_COMMAND="$FUZZY_DEFAULT" - export SKIM_ALT_C_COMMAND="$FUZZY_ALT_C" - export SKIM_CTRL_T_COMMAND="$FUZZY_CTRL_T" - . /usr/share/skim/**/*.zsh - ;; -esac -- cgit v1.2.3