From 5c1c3a40d636619ba8d04b2da8cd262ca3dd578c Mon Sep 17 00:00:00 2001 From: Artur Tamborski Date: Sun, 12 May 2019 13:48:14 +0200 Subject: [PATCH] set custom history file location, set umask --- roles/bash/templates/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/bash/templates/config b/roles/bash/templates/config index e2c2fca..abcc812 100644 --- a/roles/bash/templates/config +++ b/roles/bash/templates/config @@ -117,7 +117,7 @@ fi # Note: PS1 and umask are already set in /etc/profile. You should not # need this unless you want different defaults for root. # PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ ' -# umask 022 +umask 022 # You may uncomment the following lines if you want `ls' to be colorized: export LS_OPTIONS='--color=auto' @@ -126,7 +126,9 @@ alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lA' -Some more alias to avoid making mistakes: +# Some more alias to avoid making mistakes: alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' + +export HISTFILE="{{ bash.history.path }}{{ bash.history.name }}" \ No newline at end of file