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:
commit
b6c0ab8eb6
1 changed files with 1 additions and 1 deletions
2
tldr
2
tldr
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue