chore/update-momo-main-07-23 #237
|
@ -11,7 +11,7 @@ with self; ''
|
||||||
|
|
||||||
# Get shell command list
|
# Get shell command list
|
||||||
# This may include the occasional non-executable file
|
# This may include the occasional non-executable file
|
||||||
command_list=$({ whence -wm '*' | sed 's/:[^:]*$//' })
|
command_list=$({ compgen -c | sed 's/:[^:]*$//'; })
|
||||||
|
|
||||||
# read existing command history
|
# read existing command history
|
||||||
if [ -f "$HIST_FILE" ]; then
|
if [ -f "$HIST_FILE" ]; then
|
||||||
|
|
Loading…
Reference in a new issue