commit 6ac298b4007bb1453cba5d6931810f5b01b04430 (patch)
parent a8b3969199f1d4c297428ae3d4c2ecac983dfa88
Author: Alex Karle <alex@karle.co>
Date: Thu, 28 May 2020 21:11:52 -0400
bash: Remove newline after prompt
Been using a simpler prompt a lot of the time, and grew fond of the
terser prompt.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash/bashrc b/bash/bashrc
@@ -13,7 +13,7 @@ HISTSIZE=10000 # Max lines in history (in memory)
HISTFILESIZE=200000 # Max size of the history file
HISTIGNORE=fg:pwd:ls # Don't store common commands in history
HISTCONTROL=ignoreboth # Don't store duped / whitespace-led commands in history
-PROMPT_COMMAND="echo; history -a" # Record history after each command
+PROMPT_COMMAND="history -a" # Record history after each command
# Includes
include() { [ -r "$1" ] && source "$1"; }