Show More
@@ -24,7 +24,7 b' _ipython()' | |||||
24 | { |
|
24 | { | |
25 | local cur=${COMP_WORDS[COMP_CWORD]} |
|
25 | local cur=${COMP_WORDS[COMP_CWORD]} | |
26 | local prev=${COMP_WORDS[COMP_CWORD - 1]} |
|
26 | local prev=${COMP_WORDS[COMP_CWORD - 1]} | |
27 | local subcommands="notebook qtconsole console kernel profile locate history nbconvert" |
|
27 | local subcommands="notebook qtconsole console kernel profile locate history nbconvert " | |
28 | local opts="" |
|
28 | local opts="" | |
29 | if [ -z "$__ipython_complete_baseopts" ]; then |
|
29 | if [ -z "$__ipython_complete_baseopts" ]; then | |
30 | _ipython_get_flags baseopts |
|
30 | _ipython_get_flags baseopts | |
@@ -46,7 +46,7 b' _ipython()' | |||||
46 |
|
46 | |||
47 | if [[ ${cur} == -* ]]; then |
|
47 | if [[ ${cur} == -* ]]; then | |
48 | case $mode in |
|
48 | case $mode in | |
49 | "notebook" | "qtconsole" | "console" | "kernel") |
|
49 | "notebook" | "qtconsole" | "console" | "kernel" | "nbconvert") | |
50 | _ipython_get_flags $mode |
|
50 | _ipython_get_flags $mode | |
51 | opts=$"${opts} ${baseopts}" |
|
51 | opts=$"${opts} ${baseopts}" | |
52 | ;; |
|
52 | ;; |
General Comments 0
You need to be logged in to leave comments.
Login now