summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile23
1 files changed, 23 insertions, 0 deletions
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