summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile7
1 files changed, 4 insertions, 3 deletions
diff --git a/.profile b/.profile
index 25b457c..873899c 100644
--- a/.profile
+++ b/.profile
@@ -4,8 +4,8 @@ export LC_TIME=de_DE.UTF-8
export EDITOR=vim
export TERM=xterm
export HISTSIZE=65535
-# autojump needs this
-export PROMPT_COMMAND="history -a"
+export HISTCONTROL=erasedups
+export PROMPT_COMMAND="history -a;history -n"
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.local/bin/`hostname`:$PATH
@@ -18,6 +18,7 @@ export CFLAGS="-O2 -pipe -march=native"
export CXXFLAGS="${CFLAGS}"
# Sway compatiblity https://github.com/swaywm/sway/issues/595
export _JAVA_AWT_WM_NONREPARENTING=1
+export GDK_BACKEND=wayland
+[ -e .config/$(hostname).profile ] && . .config/$(hostname).profile
[ $SHELL = "/bin/bash" ] && [ -f ~/.bashrc ] && . ~/.bashrc
-[ -e .config/$(hostname).profile ] && . .config/$(hostname).profile \ No newline at end of file