From eb1dbbb8be24a284777dc341c59841051e68045a Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Sun, 16 May 2021 20:39:05 +0200 Subject: Add basic (posix) shell. --- .profile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .profile (limited to '.profile') diff --git a/.profile b/.profile new file mode 100644 index 0000000..25b457c --- /dev/null +++ b/.profile @@ -0,0 +1,23 @@ +export ENV=~/.env +export LANG=en_US.UTF-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 PATH=$HOME/.local/bin:$PATH +export PATH=$HOME/.local/bin/`hostname`:$PATH +export PATH=$HOME/.local/bin/`uname -m`:$PATH +export PATH=$HOME/.cargo/bin:$PATH +export GOPATH="$HOME/.local/share/go" +export PATH=$GOPATH/bin:$PATH +export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'` +export CFLAGS="-O2 -pipe -march=native" +export CXXFLAGS="${CFLAGS}" +# Sway compatiblity https://github.com/swaywm/sway/issues/595 +export _JAVA_AWT_WM_NONREPARENTING=1 + +[ $SHELL = "/bin/bash" ] && [ -f ~/.bashrc ] && . ~/.bashrc +[ -e .config/$(hostname).profile ] && . .config/$(hostname).profile \ No newline at end of file -- cgit v1.2.3