summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2022-02-16 08:34:19 +0100
committerMehdi Sadeghi <mehdi@mehdix.org>2022-02-16 08:34:19 +0100
commitacc0e5f18e47b47c6a9c2aed64349a00d93cec63 (patch)
treec0ddcdc99bd8dd66706466c35227a58fabe5e081 /.profile
parenta45e09e96744030078bca68f1f6d9f3136c37d39 (diff)
Set term to foot. Fix loading env from su.
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index 1fa0655..4832034 100644
--- a/.profile
+++ b/.profile
@@ -3,7 +3,7 @@ export ENV=~/.env
export LANG=en_US.UTF-8
export LC_TIME=de_DE.UTF-8
export EDITOR=vim
-export TERM=xterm
+export TERM=foot-extra
export HISTSIZE=65535
export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'`
@@ -14,4 +14,4 @@ export _JAVA_AWT_WM_NONREPARENTING=1
export GDK_BACKEND=wayland
[ -e .config/$(hostname).profile ] && . .config/$(hostname).profile
-[ -n $BASH_VERSION ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc
+[ $0 != sh ] && [ -n $BASH_VERSION ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc