aboutsummaryrefslogtreecommitdiff
path: root/etc/bash
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-14 22:59:47 -0300
committerEuAndreh <eu@euandre.org>2022-05-14 22:59:47 -0300
commita16f7adf13383792c4cede00a3071d20129ea2e2 (patch)
tree832c280c571b81fed42871fd8a2108122a639f01 /etc/bash
parentetc/bash/rc: Show pretty tilde path in $V_FILES, in a better order (diff)
downloaddotfiles-a16f7adf13383792c4cede00a3071d20129ea2e2.tar.gz
dotfiles-a16f7adf13383792c4cede00a3071d20129ea2e2.tar.xz
etc/bash/rc: Set $HISTCONTROL variable.
Diffstat (limited to 'etc/bash')
-rw-r--r--etc/bash/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/bash/rc b/etc/bash/rc
index e4c1356..4d8dbe8 100644
--- a/etc/bash/rc
+++ b/etc/bash/rc
@@ -34,6 +34,8 @@ mkdir -p \
HISTSIZE=
HISTFILE="$XDG_STATE_HOME/bash-history"
+HISTCONTROL=ignorespace:ignoredups
+
export SRC=~/dev
export EDITOR='vi'
export VISUAL="$EDITOR"