From dbb661005d7e6ccc0e33316323d02d60062be9a0 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Wed, 25 May 2022 00:30:19 +0200 Subject: Change prompt to two lines and add nix. --- .profile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index ae6ffb5..d038555 100644 --- a/.profile +++ b/.profile @@ -2,9 +2,9 @@ echo .profile begin # .profile export ENV=~/.env export LANG=en_US.UTF-8 -export LC_TIME=de_DE.UTF-8 +export LANGUAGE=en_US:de_DE +export LC_ALL=en_US.UTF-8 export EDITOR=vim -#export TERM=foot-extra export HISTSIZE=65535 export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'` @@ -12,10 +12,12 @@ 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 +#export GDK_BACKEND=wayland HOSTNAME=$(cat /proc/sys/kernel/hostname) [ -e .config/$HOSTNAME.profile ] && . .config/$HOSTNAME.profile [ $0 != sh ] && [ -n "$BASH_VERSION" ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc echo .profile end + +if [ -e /home/mx/.nix-profile/etc/profile.d/nix.sh ]; then . /home/mx/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer -- cgit v1.2.3