Show More
@@ -103,7 +103,9 b' EOF' | |||||
103 | COMPREPLY=( $(compgen -W "${__ipython_complete_profiles}" -- ${cur}) ) |
|
103 | COMPREPLY=( $(compgen -W "${__ipython_complete_profiles}" -- ${cur}) ) | |
104 | else |
|
104 | else | |
105 | if [ "$COMP_CWORD" == 1 ]; then |
|
105 | if [ "$COMP_CWORD" == 1 ]; then | |
106 | COMPREPLY=( $(compgen -W "${subcommands}" -- ${cur}) ) |
|
106 | local IFS=$'\t\n' | |
|
107 | local sub=$(echo $subcommands | sed -e "s/ / \t/g") | |||
|
108 | COMPREPLY=( $(compgen -W "${sub}" -- ${cur}) ) | |||
107 | else |
|
109 | else | |
108 | COMPREPLY=( $(compgen -f -- ${cur}) ) |
|
110 | COMPREPLY=( $(compgen -f -- ${cur}) ) | |
109 | fi |
|
111 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now