summaryrefslogtreecommitdiffstats
path: root/ship/src
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-04-15 13:53:24 +0200
committermakefu <root@pigstarter.de>2014-04-15 13:53:27 +0200
commitbaadbeda024630166a5c62fbfa92d642c77f687c (patch)
tree76d07270c101eb01f4521c14ac585adb39cb6072 /ship/src
parent11ca12e6b15eb044a9de9da5ae1f005017960754 (diff)
bootstrap_env: add python auto complete
Diffstat (limited to 'ship/src')
-rwxr-xr-xship/src/bootstrap_env_makefu7
1 files changed, 6 insertions, 1 deletions
diff --git a/ship/src/bootstrap_env_makefu b/ship/src/bootstrap_env_makefu
index 3088d059..188a48e7 100755
--- a/ship/src/bootstrap_env_makefu
+++ b/ship/src/bootstrap_env_makefu
@@ -68,8 +68,13 @@ test -r ~/TODO && cat ~/TODO
setopt menu_complete
unsetopt correct_all
+export PYTHONSTARTUP=~/.pythonrc
+EOF
+info 'deploying pythonrc'
+cat > $HOME/.pythonrc <<EOF
+import rlcompleter, readline
+readline.parse_and_bind('tab:complete')
EOF
-
info "deploying vim config"
if [ -e $HOME/.vim ] ; then
oldvim=$HOME/.vim.`date +%Y%M%d`