2
0
Fork 0
mirror of https://github.com/pepa65/tldr-bash-client.git synced 2024-11-14 07:51:06 +01:00

Merge pull request #5 from FlipB/master

Use $configdir variable instead of hardcoded path in --list
This commit is contained in:
Ray Lee 2016-01-07 08:26:25 -08:00
commit b6c0ab8eb6

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)