From a640bb766699706b4975416b85acd30191b79fa3 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 28 Sep 2021 22:34:02 +0200 Subject: zsh: remove 'before' files .zsh.before/*: Remove all 'before' include files. --- .zsh.before/git.zsh | 4 ---- .zsh.before/key-bindings.zsh | 10 ---------- .zsh.before/last-command.zsh | 7 ------- 3 files changed, 21 deletions(-) delete mode 100644 .zsh.before/git.zsh delete mode 100644 .zsh.before/key-bindings.zsh delete mode 100644 .zsh.before/last-command.zsh diff --git a/.zsh.before/git.zsh b/.zsh.before/git.zsh deleted file mode 100644 index c87ec5a..0000000 --- a/.zsh.before/git.zsh +++ /dev/null @@ -1,4 +0,0 @@ -# Makes git auto completion faster favouring for local completions -__git_files () { - _wanted files expl 'local files' _files -} diff --git a/.zsh.before/key-bindings.zsh b/.zsh.before/key-bindings.zsh deleted file mode 100644 index c1c7d8e..0000000 --- a/.zsh.before/key-bindings.zsh +++ /dev/null @@ -1,10 +0,0 @@ -# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html -# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Builtins -# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets - -bindkey -v # Use vi key bindings -bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line. - -# emacs style -bindkey '^a' beginning-of-line -bindkey '^e' end-of-line diff --git a/.zsh.before/last-command.zsh b/.zsh.before/last-command.zsh deleted file mode 100644 index 9f7486b..0000000 --- a/.zsh.before/last-command.zsh +++ /dev/null @@ -1,7 +0,0 @@ -# Use Ctrl-x,Ctrl-l to get the output of the last command -zmodload -i zsh/parameter -insert-last-command-output() { -LBUFFER+="$(eval $history[$((HISTCMD-1))])" -} -zle -N insert-last-command-output -bindkey "^X^L" insert-last-command-output -- cgit v1.2.3-70-g09d2