Skip to content

Commit

Permalink
Merge pull request #45 from caarlos0/prompt-command
Browse files Browse the repository at this point in the history
dont override prompt command
  • Loading branch information
caarlos0 committed Feb 26, 2016
2 parents 04371c8 + 73c7564 commit e2e6838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jvm() {
# main function called when sourced.
main() {
if [ -n "$BASH" ]; then
PROMPT_COMMAND=__jvm_main
PROMPT_COMMAND="__jvm_main; $PROMPT_COMMAND"
# shellcheck disable=SC2039
complete -W "local global version reload config" jvm
elif [ -n "$ZSH_NAME" ]; then
Expand Down

0 comments on commit e2e6838

Please sign in to comment.