~tardypad/dotfiles

03a818bd23c8c8c19b661d564661f33ee1ce2547 — Damien Tardy-Panis 2 months ago 034083f
Less uses lesskey file directly in XDG config folder

No need anymore to generate a binary file from lesskey since new version
2 files changed, 7 insertions(+), 2 deletions(-)

M files/configs/less/Makefile
M files/configs/zsh/config.d/variables.zsh
M files/configs/less/Makefile => files/configs/less/Makefile +3 -2
@@ 1,5 1,6 @@
all: less-configs

less-configs:
	# generate config file
	$(setup_file)/configs/less/lesskey | lesskey -o "$(DESTDIR)$(HOME)/.less" -
	mkdir -p $(DESTDIR)$(CONFIG_DIR)

	$(setup_file)/configs/less/lesskey > $(DESTDIR)$(CONFIG_DIR)/lesskey

M files/configs/zsh/config.d/variables.zsh => files/configs/zsh/config.d/variables.zsh +4 -0
@@ 8,6 8,10 @@ export XDG_NOTES_DIR="${HOME}/Notes"
export XDG_PROJECTS_DIR="${HOME}/Projects"
export XDG_VIDEOS_DIR="${HOME}/Videos"

# defaults but less needs to have it set to use it..
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"

# Make vim the default editor everywhere
export EDITOR=vim