bashrc: diable duplicates in bash history

starship: change command return code color
This commit is contained in:
scbj
2024-10-28 10:52:44 +01:00
parent 4ea6788d64
commit f8336e1c9c
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,9 @@
# ~/.bashrc
#
# disable duplicates in command history
export HISTCONTROL=ignoreboth:erasedups
# If not running interactively, don't do anything
[[ $- != *i* ]] && return