aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2016-01-21 15:29:43 +0500
committerAnton Bobov <abobov@gmail.com>2016-01-21 20:12:56 +0500
commit13594290ac32e0ecbf17a51418268a596a213451 (patch)
tree17aeab1b9888105968ec1f3c291a1f1cdffcb9fd /files
parentca48256207351924ead6b0693b9c22a97ecc93ad (diff)
Add zsh completion.
Diffstat (limited to 'files')
-rw-r--r--files/.zsh/rc/S40_completion3
-rw-r--r--files/.zsh/zshrc3
2 files changed, 5 insertions, 1 deletions
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"