From: Jakub Czajka Date: Sat, 4 Jun 2022 20:28:07 +0000 (+0200) Subject: [home] Do not save `less` history. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=240c48661ea88ccae140679d6abf9dfe2279997c;p=guix.git [home] Do not save `less` history. By default `less` remembers commands issued by the user. --- diff --git a/bash/.config/profile.d/20-less.sh b/bash/.config/profile.d/20-less.sh new file mode 100644 index 0000000..c82f904 --- /dev/null +++ b/bash/.config/profile.d/20-less.sh @@ -0,0 +1,6 @@ +# Copyright (c) 2022 Jakub Czajka +# License: GPL-3.0 or later. +# +# 20-less.sh - configuration for less(1). + +export LESSHISTFILE="-" diff --git a/home.scm b/home.scm index 5912410..39d7da8 100644 --- a/home.scm +++ b/home.scm @@ -20,7 +20,8 @@ (bash-profile "bash/.bash_profile") (bashrc "bash/.bashrc"))) (service home-symlink-service-type - (list "bash/.config/profile.d/10-xdg.sh")) + (list "bash/.config/profile.d/10-xdg.sh" + "bash/.config/profile.d/20-less.sh")) (service home-program-service-type (home-program-configuration (packages (list git))