summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-12-06 10:38:42 +0100
committerSebastian Reichel <sre@ring0.de>2015-12-06 10:38:42 +0100
commit406d82b9b07e3807227636b3ddc3c14afa52f48e (patch)
treeb80b2a06cc0381d6b82efea1d99a6d8504684646
parent1b5a1f844e4d800d1ec0f48961133af25b665753 (diff)
downloadzsh-config-406d82b9b07e3807227636b3ddc3c14afa52f48e.tar.bz2
init bash compatible tab completions
-rw-r--r--zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 3ef0e69..5a6ed1b 100644
--- a/zshrc
+++ b/zshrc
@@ -1,12 +1,18 @@
+fpath=(~/.zsh/completion $fpath)
+
# initialize zsh auto completion system
autoload -Uz compinit vcs_info; compinit
zmodload -i zsh/complist
+autoload -U bashcompinit
+bashcompinit
# history settings
#HISTFILE=~/.histfile
SAVEHIST=0
HISTSIZE=1000
+source /etc/profile
+
# no beep
setopt prompt_subst autocd
unsetopt beep