Move less history to XDG data dir
This commit is contained in:
parent
594b3f986d
commit
47794d1ea4
@ -15,6 +15,7 @@ in {
|
||||
./programs/gh.nix
|
||||
./programs/git.nix
|
||||
./programs/gpg.nix
|
||||
./programs/less.nix
|
||||
./programs/neovim.nix
|
||||
./programs/newsboat.nix
|
||||
./programs/tmux.nix
|
||||
|
12
home/programs/less.nix
Normal file
12
home/programs/less.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.less = {
|
||||
enable = true;
|
||||
keys = ''
|
||||
#env
|
||||
LESS = -i -R
|
||||
LESSHISTSIZE=20000
|
||||
LESSHISTFILE=${config.xdg.dataHome}/less/history
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user