Added a comment
parent
8e9dadfaad
commit
ab7f15bee1
|
|
@ -14,6 +14,7 @@ if ! _command_exists cht.sh ; then
|
||||||
example '$ cht.sh rust :list'
|
example '$ cht.sh rust :list'
|
||||||
group 'cht-sh'
|
group 'cht-sh'
|
||||||
|
|
||||||
|
# Separate arguments with '/', preserving spaces within them
|
||||||
local query=$(IFS=/ ; echo "$*")
|
local query=$(IFS=/ ; echo "$*")
|
||||||
curl "cht.sh/${query}"
|
curl "cht.sh/${query}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue