From a7e58ce32623c8fe144321759507cbb6c1415e74 Mon Sep 17 00:00:00 2001 From: Bob Nadler Date: Thu, 11 Feb 2016 22:46:38 -0500 Subject: [PATCH] Bash: Ignore '%' in history. --- bash/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/config b/bash/config index 34efd3d..491eb23 100644 --- a/bash/config +++ b/bash/config @@ -37,7 +37,7 @@ TXTRST='\e[0m' # Text Reset #[ -z "$PS1" ] && return # Don't put fg commands in history -export HISTIGNORE="fg*" +export HISTIGNORE="fg*:%" # don't put duplicate lines in the history. See bash(1) for more options export HISTCONTROL=ignoredups