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=" |
|
27 | local subcommands="kernel profile locate history kernelspec" | |
28 | local opts="help" |
|
28 | local opts="help" | |
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,11 +46,11 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" | "nbconvert") |
|
49 | "kernel") | |
50 | _ipython_get_flags $mode |
|
50 | _ipython_get_flags $mode | |
51 | opts=$"${opts} ${baseopts}" |
|
51 | opts=$"${opts} ${baseopts}" | |
52 | ;; |
|
52 | ;; | |
53 |
"locate" | "profile" |
|
53 | "locate" | "profile") | |
54 | _ipython_get_flags $mode |
|
54 | _ipython_get_flags $mode | |
55 | ;; |
|
55 | ;; | |
56 | "history" | "kernelspec") |
|
56 | "history" | "kernelspec") |
General Comments 0
You need to be logged in to leave comments.
Login now