summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.profile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index c18128f..da5d096 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,7 +5,7 @@
export PAGER=less
export EDITOR=vim
-export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:top:history'
+export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history'
export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
diff --git a/.profile b/.profile
index 3b15a21..eabc26e 100644
--- a/.profile
+++ b/.profile
@@ -10,3 +10,5 @@ PATH=~/bin:~/mu/bin:$PATH:~/go/bin
# esac
tabs -4
+
+[ "$(tty)" != /dev/tty1 ] || exec dbus-run-session sway