1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-25 23:46:00 +03:00

updated test 8

This commit is contained in:
Igor Chubin 2019-07-24 20:24:57 +00:00
parent 1aa550bf93
commit 60eb0cea3e

View File

@ -24,8 +24,8 @@
# count words in text counter
# group elements list
__CHTSH_VERSION=5
__CHTSH_DATETIME="2019-05-11 07:29:46 +0200"
__CHTSH_VERSION=6
__CHTSH_DATETIME="2019-06-05 18:00:46 +0200"
# cht.sh configuration loading
#
@ -725,7 +725,7 @@ while true; do
fi
input=$(
rlwrap -H "$HOME/.cht.sh/history" -pgreen -C cht.sh -S "$full_prompt" sh "$0" --read | sed 's/ *#.*//'
rlwrap -H "$HOME/.cht.sh/history" -pgreen -C cht.sh -S "$full_prompt" bash "$0" --read | sed 's/ *#.*//'
)
cmd_name=${input%% *}
@ -742,7 +742,7 @@ while true; do
stealth) cmd_name=stealth;;
update) cmd_name=update;;
version) cmd_name=version;;
*) cmd_name="query $cmd_name";;
*) cmd_name="query"; cmd_args="$input";;
esac
"cmd_$cmd_name" $cmd_args
done