diff --git a/plugins/available/fasd.plugin.bash b/plugins/available/fasd.plugin.bash index 5db2b359..de27fdbc 100755 --- a/plugins/available/fasd.plugin.bash +++ b/plugins/available/fasd.plugin.bash @@ -24,6 +24,7 @@ __init_fasd() { # add bash hook case $PROMPT_COMMAND in *_fasd_prompt_func*) ;; + "") PROMPT_COMMAND="_fasd_prompt_func";; *) PROMPT_COMMAND="_fasd_prompt_func;$PROMPT_COMMAND";; esac eval "$(fasd --init bash-ccomp bash-ccomp-install)"