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
1 changed files with 1 additions and 1 deletions

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)