mirror of
https://github.com/pepa65/tldr-bash-client.git
synced 2024-09-27 18:31:30 +02:00
Now using bash variable $configdir instead of hardcoded value when
trying to list all commands.
This commit is contained in:
parent
1dc5d90b69
commit
be38c3c0f2
2
tldr
2
tldr
@ -208,7 +208,7 @@ do
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-l|--list)
|
-l|--list)
|
||||||
>&2 echo -e "Known tldr pages: \n"
|
>&2 echo -e "Known tldr pages: \n"
|
||||||
tr '{' '\n' < ~/.config/tldr/index.json | cut -d '"' -f4 | column
|
tr '{' '\n' < "$configdir/index.json" | cut -d '"' -f4 | column
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-u|--update)
|
-u|--update)
|
||||||
|
Loading…
Reference in New Issue
Block a user