From 13594290ac32e0ecbf17a51418268a596a213451 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 21 Jan 2016 15:29:43 +0500 Subject: Add zsh completion. --- files/.zsh/rc/S40_completion | 3 +++ files/.zsh/zshrc | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/files/.zsh/rc/S40_completion b/files/.zsh/rc/S40_completion index caf08e2..eff46a3 100644 --- a/files/.zsh/rc/S40_completion +++ b/files/.zsh/rc/S40_completion @@ -40,4 +40,7 @@ zstyle ':completion:*:*:vi(m|):*:*files' ignored-patterns '*?.(aux|dvi|ps|pdf|bb # Ledger completion like hledger compdef _hledger ledger +# youtube-dl +[[ -f /etc/bash_completion.d/youtube-dl.bash-completion ]] && source /etc/bash_completion.d/youtube-dl.bash-completion + # vim: et ft=zsh fdm=marker : diff --git a/files/.zsh/zshrc b/files/.zsh/zshrc index 945cabf..29c7102 100644 --- a/files/.zsh/zshrc +++ b/files/.zsh/zshrc @@ -1,6 +1,7 @@ #!/bin/zsh -autoload -U compinit zrecompile +autoload -U compinit bashcompinit zrecompile +bashcompinit -i #zsh_cache=$HOME/.zsh/cache #mkdir -p "$zsh_cache" -- cgit v1.2.3