Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
set custom history file location, set umask
Browse files Browse the repository at this point in the history
  • Loading branch information
arturtamborski committed May 12, 2019
1 parent 6e82ce7 commit 5c1c3a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/bash/templates/config
Expand Up @@ -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'
Expand All @@ -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 }}"

0 comments on commit 5c1c3a4

Please sign in to comment.