2
0
mirror of https://github.com/pepa65/tldr-bash-client.git synced 2024-10-01 12:11:28 +02:00
Commit Graph

49 Commits

Author SHA1 Message Date
Susensio
f193b15bbf
Fix less percentage
The problem is that less can't say what percent into the file you are until it knows how long the file is, and it doesn't read to the end of the file by default when reading from a pipe. 
If a command line option begins with +, the remainder of that option is taken to be an initial command to less.
+Gg command forces less to read to the end and back to the beginning of the file FIRST, before building the statusbar.
2018-01-17 16:20:44 +01:00
pepa65
c43af0e308 Return page result on first run 2017-12-08 23:12:31 +07:00
pepa65
55a0837bf8 Fixups after adding windows platform 2017-12-05 20:29:51 +07:00
anandsudhir
cc2052e943 Add support for new windows platform. Closes #6 2017-12-05 13:54:51 +01:00
pepa65
5dea7d9477 Tweak help message 2017-11-29 20:50:58 +07:00
pepa65
e138c5dd0a Add autocomplete option to readme 2017-11-29 10:33:41 +07:00
pepa65
88d5b7df35 Release 0.38
Rename find to search to be in line with tldr node client
2017-11-29 08:23:36 +07:00
pepa65
5a6514741c Release 0.37
Added find option
Renewed images
2017-11-27 19:31:27 +07:00
pepa65
fa141b60dd Change links to 4e4.win 2017-10-15 23:37:18 +07:00
Philippe Bordron
198906580a Update tldr 2017-10-04 10:29:38 +02:00
Philippe Bordron
6c67c52179 Make compatible with some old bash interpreters
Correct the `tldr: line 319: -1: substring expression < 0` error on some system with old bash.
2017-10-04 10:27:53 +02:00
pepa65
b613f64c2a Fix some links to tldr.sh 2017-09-22 11:19:52 +07:00
pepa65
6e1a520cd8 Prevent undesirable output of type
Fix missing argument of Cache_fill
2017-08-09 23:56:23 +07:00
pepa65
09af2f820e Add option to use cat instead of less
Shorter download link
2017-08-09 23:36:45 +07:00
pepa65
a0641078d0 Release 0.34
Conform general tldr client specifications:
- -u/--update Updates the whole cache (obsoletes update index only)
- old -c/--cache now becomes -u/--update
- Implement -a/--list-all (same action as newly implemented -l/--list current)
Make formatting not include initial space
2017-08-07 12:40:04 +07:00
pepa65
cca250a070 Adjusted shebang (#4) 2017-07-17 01:24:12 +07:00
pepa65
bbb65f91f6 Release 0.33
Fix new format parser
2017-06-04 22:39:01 +07:00
pepa65
bdbfe4b27e Update version as well to 0.32 2017-05-30 22:52:14 +07:00
pepa65
24b742a8d3 Fix less taking the whole terminal screen 2017-05-30 22:49:31 +07:00
pepa65
cc2d8bd9ba Properly handle zip-file redirects 2017-05-29 08:54:24 +07:00
PePa
09166b0a3d Revert fake change
Cheat github to use 2-space tabs
2017-03-13 12:11:38 +07:00
PePa
0c0f6ae5f2 Fake change 2017-03-13 12:10:33 +07:00
pepa65
a08bd77bd0 Release version 0.3
- More extensive colour customization, also help
- Use $XDG_DATA_HOME if it exists
- Bug: display pagename on linting errors
2017-03-13 02:34:04 +07:00
pepa65
6d023a0747 Version 0.2
Fixed columns in listing
Added Main function
2017-02-23 16:17:43 +07:00
pepa65
84bc7dcb55 Renamed variables, sanitized (function) comments and clarified global variables 2017-02-23 15:53:37 +07:00
pepa65
77308bd8b1 Some muting of shellcheck results 2017-02-23 00:28:41 +07:00
pepa65
ec2877da19 Updated description 2017-02-22 23:06:21 +07:00
pepa65
7268b5591a Add files for bpkg 2017-02-22 19:57:27 +07:00
pepa65
f7c0d509f0 Improved less output
Sanitized source
2017-02-22 17:59:51 +07:00
pepa65
63250fc307 Fix styles
Proper gif use in readme
2017-02-22 12:40:02 +07:00
pepa65
9f7402009d Version 0.1a
- No explicit dash before examples
- Space in front of all lines
- Try gif in readme
2017-02-22 12:26:25 +07:00
pepa65
7f2e817de0 make some variables local, cleanup tmp files after errors 2017-02-07 22:57:38 +07:00
pepa65
eb121cbe88 Use official cache archive location
Add version option
Replace == by = where appropriate
2017-02-07 20:56:42 +07:00
pepa65
9602c2fa60 rephrase some platform selection with if-then
Make expired cache non-fatal
2017-02-07 09:56:49 +07:00
pepa65
1dffa6815d Fix serious logic error in platform choice code 2017-02-07 09:01:32 +07:00
pepa65
2bb8425460 Added rendering of the new markdown as well,
plus displaying the raw markdown of .md files
2017-02-07 02:16:54 +07:00
pepa65
b582daacb7 Updated download link in readme
Removed quotes around assignments that don't need it
2017-02-06 11:22:33 +07:00
pepa65
3fb1415934 Renamed repo, adapted readme and customize screenshot 2017-02-06 10:48:48 +07:00
pepa65
b5e5b6ebf5 Removed comment reference to tput 2017-02-06 10:32:21 +07:00
pepa65
e9faf66421 Added render option, adapted readme and usage screenshot 2017-02-06 10:11:13 +07:00
pepa65
de0355d651 Change presentation of styles list, spaces instead of comma
Make screenshots present smaller
2017-02-06 09:06:21 +07:00
pepa65
4ae15472b2 Cut down screenshots, removed mention of ncurses (tput) as requirement 2017-02-06 00:19:38 +07:00
pepa65
8394083faa First release after having gone overboard in modifications and enhancements,
particularly easy customization and option for downloading full pages archive.
2017-02-06 00:00:42 +07:00
Ray Lee
3584f91169 Update help text 2016-01-14 11:40:42 -08:00
Filip Björck
be38c3c0f2 Now using bash variable $configdir instead of hardcoded value when
trying to list all commands.
2016-01-06 20:49:14 +01:00
Ray Lee
1dc5d90b69 Merge pull request #4 from 85pando/config-folder
Fix #2, when neither .tldr nor .config exist, the client silently fails.
2016-01-06 09:27:49 -08:00
85pando
e1f56a08eb Fix #2 2016-01-06 17:23:23 +01:00
Igor Shubovych
4238da477d Fix index.json URL 2016-01-06 14:48:47 +02:00
Ray Lee
f108256259 Initial commit 2016-01-03 21:33:47 -08:00