From 020472cfa5f8a4208daece7400d0988e1da9a325 2013-11-14 21:39:13 From: Paul Ivanov Date: 2013-11-14 21:39:13 Subject: [PATCH] fix nbconvert completion thanks @jakobgager for pointing this out in #4528 --- diff --git a/examples/core/ipython-completion.bash b/examples/core/ipython-completion.bash index 6b34a67..2554a60 100644 --- a/examples/core/ipython-completion.bash +++ b/examples/core/ipython-completion.bash @@ -24,7 +24,7 @@ _ipython() { local cur=${COMP_WORDS[COMP_CWORD]} local prev=${COMP_WORDS[COMP_CWORD - 1]} - local subcommands="notebook qtconsole console kernel profile locate history nbconvert" + local subcommands="notebook qtconsole console kernel profile locate history nbconvert " local opts="" if [ -z "$__ipython_complete_baseopts" ]; then _ipython_get_flags baseopts @@ -46,7 +46,7 @@ _ipython() if [[ ${cur} == -* ]]; then case $mode in - "notebook" | "qtconsole" | "console" | "kernel") + "notebook" | "qtconsole" | "console" | "kernel" | "nbconvert") _ipython_get_flags $mode opts=$"${opts} ${baseopts}" ;;