diff --git a/roles/bash/files/profile b/roles/bash/files/profile index f41f486..8ef875a 100644 --- a/roles/bash/files/profile +++ b/roles/bash/files/profile @@ -18,7 +18,7 @@ export LANGUAGE="en_US" export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" 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 LOCAL_CONFIG="$HOME/.local/etc" export LOCAL_PREFIX="/usr/local" diff --git a/roles/bash/tasks/main.yml b/roles/bash/tasks/main.yml index c1ad803..68395dd 100644 --- a/roles/bash/tasks/main.yml +++ b/roles/bash/tasks/main.yml @@ -26,7 +26,7 @@ - bash_logout - profile -- name: Create the bash cache and config directories +- name: Ensure existence of directories used in bashrc file: path: "{{ item }}" state: directory @@ -34,6 +34,7 @@ - "~/.cache/bash" - "~/.config/bash" - "~/.local/share/bash-completion/completions" + - "~/.local/share/less" - name: Deploy bash profile file: