bash: move .cache/less/history -> .local/share/less/history

This commit is contained in:
Fernando Schauenburg 2020-12-15 23:41:05 +01:00
parent 036f2ac143
commit c361c78dd6
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,7 @@ export LANGUAGE="en_US"
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"
export LESS="-i -j.49 -M -R -z-2" export LESS="-i -j.49 -M -R -z-2"
export LESSHISTFILE="$XDG_CACHE_HOME/less/history" export LESSHISTFILE="$XDG_DATA_HOME/less/history"
export LESSHISTSIZE=1000 export LESSHISTSIZE=1000
export LOCAL_CONFIG="$HOME/.local/etc" export LOCAL_CONFIG="$HOME/.local/etc"
export LOCAL_PREFIX="/usr/local" export LOCAL_PREFIX="/usr/local"

View file

@ -26,7 +26,7 @@
- bash_logout - bash_logout
- profile - profile
- name: Create the bash cache and config directories - name: Ensure existence of directories used in bashrc
file: file:
path: "{{ item }}" path: "{{ item }}"
state: directory state: directory
@ -34,6 +34,7 @@
- "~/.cache/bash" - "~/.cache/bash"
- "~/.config/bash" - "~/.config/bash"
- "~/.local/share/bash-completion/completions" - "~/.local/share/bash-completion/completions"
- "~/.local/share/less"
- name: Deploy bash profile - name: Deploy bash profile
file: file: