bash: move .cache/less/history -> .local/share/less/history
This commit is contained in:
parent
036f2ac143
commit
c361c78dd6
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue