2
0
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:
Filip Björck 2016-01-06 20:49:14 +01:00
parent 1dc5d90b69
commit be38c3c0f2

2
tldr
View File

@ -208,7 +208,7 @@ do
case "$1" in
-l|--list)
>&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
;;
-u|--update)