##// END OF EJS Templates
bash completion: fix flags for history w/o subcmd
Paul Ivanov -
Show More
@@ -54,7 +54,7 b' _ipython()'
54 _ipython_get_flags $mode
54 _ipython_get_flags $mode
55 ;;
55 ;;
56 "history")
56 "history")
57 if [[ $COMP_CWORD -ge 2 ]]; then
57 if [[ $COMP_CWORD -ge 3 ]]; then
58 # 'history trim' and 'history clear' covered by next line
58 # 'history trim' and 'history clear' covered by next line
59 _ipython_get_flags history\ "${COMP_WORDS[2]}"
59 _ipython_get_flags history\ "${COMP_WORDS[2]}"
60 else
60 else
General Comments 0
You need to be logged in to leave comments. Login now