From d0c7230a9fb78a87a919b9aff05f6630fa6500f5 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Tue, 25 May 2021 22:47:41 +0200 Subject: Simplify for bourne shell use. --- .profile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.profile') 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 -- cgit v1.2.3