-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change algorithm to find lesskey and history files:
Previously, less would look for lesskey in $HOME/.lesskey. Now it looks in $XDG_CONFIG_DIR/lesskey first, and if not found then $HOME/.lesskey. Previously, less would look for history in $HOME/.lesshst. Now it looks in $XDG_CONFIG_DIR/lesshst first, and if not found then $HOME/.lesshst. When writing the history file, it uses $XDG_CONFIG_DIR/lesshst if it exists, otherwise $HOME/.lesshst if it exists, otherwise $XDG_CONFIG_DIR/lesshst.
- Loading branch information
Showing
5 changed files
with
55 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters