##// END OF EJS Templates
replace $() with backticks...
Julian Taylor -
Show More
@@ -65,7 +65,7 b' _ipython()'
65 65 return 0
66 66 elif [[ ${prev} == "--pylab"* ]] || [[ ${prev} == "--gui"* ]]; then
67 67 if [ -z "$__ipython_complete_pylab" ]; then
68 __ipython_complete_pylab=$(cat <<EOF | python -
68 __ipython_complete_pylab=`cat <<EOF | python -
69 69 try:
70 70 import IPython.core.shellapp as mod;
71 71 for k in mod.InteractiveShellApp.pylab.values:
@@ -73,13 +73,13 b' try:'
73 73 except:
74 74 pass
75 75 EOF
76 )
76 `
77 77 fi
78 78 local IFS=$'\t\n'
79 79 COMPREPLY=( $(compgen -W "${__ipython_complete_pylab}" -- ${cur}) )
80 80 elif [[ ${prev} == "--profile"* ]]; then
81 81 if [ -z "$__ipython_complete_profiles" ]; then
82 __ipython_complete_profiles=$(cat <<EOF | python -
82 __ipython_complete_profiles=`cat <<EOF | python -
83 83 try:
84 84 import IPython.core.profileapp
85 85 for k in IPython.core.profileapp.list_bundled_profiles():
@@ -90,7 +90,7 b' try:'
90 90 except:
91 91 pass
92 92 EOF
93 )
93 `
94 94 fi
95 95 local IFS=$'\t\n'
96 96 COMPREPLY=( $(compgen -W "${__ipython_complete_profiles}" -- ${cur}) )
General Comments 0
You need to be logged in to leave comments. Login now