From dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 26 Jun 2016 16:35:38 +0200 Subject: Delete unused tmux stuff --- tag-zsh/config/zsh/completion/_tmux_pane_words | 10 ---------- tag-zsh/config/zsh/zshrc | 10 ---------- 2 files changed, 20 deletions(-) delete mode 100644 tag-zsh/config/zsh/completion/_tmux_pane_words (limited to 'tag-zsh') diff --git a/tag-zsh/config/zsh/completion/_tmux_pane_words b/tag-zsh/config/zsh/completion/_tmux_pane_words deleted file mode 100644 index 6ff9ce18..00000000 --- a/tag-zsh/config/zsh/completion/_tmux_pane_words +++ /dev/null @@ -1,10 +0,0 @@ -local expl -local -a w - -if [[ -z "$TMUX_PANE" ]]; then - _message "not running inside tmux!" - return 1 -fi - -w=( ${(u)=$(tmux capture-pane \; show-buffer \; delete-buffer)} ) -_wanted values expl 'words from current tmux pane' compadd -a w diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 73dad6df..38d4a7ac 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -57,13 +57,6 @@ bashcompinit zstyle :compinstall filename '~/.zshrc' -autoload -Uz _tmux_pane_words -zle -C tmux-pane-words-prefix complete-word _generic -zle -C tmux-pane-words-anywhere complete-word _generic -zstyle ':completion:tmux-pane-words-(prefix|anywhere):*' completer _tmux_pane_words -zstyle ':completion:tmux-pane-words-(prefix|anywhere):*' ignore-line current -zstyle ':completion:tmux-pane-words-anywhere:*' matcher-list 'b:=* m:{A-Za-z}={a-zA-Z}' - # Speed up completion by not going further than a full match zstyle ':completion:*' accept-exact '*(N)' @@ -192,9 +185,6 @@ bindkey '' forward-word bindkey 'f' insert-files bindkey 'd' describe-key-briefly -bindkey '\' tmux-pane-words-prefix -bindkey '|' tmux-pane-words-anywhere - # Aliases before functions alias getcflags='gcc -\#\#\# -march=native -E /usr/include/stdlib.h 2>&1 | grep "/usr/libexec/gcc/.*cc1"' alias grep='grep --color=auto' -- cgit 1.4.1