home/.env

31 lines
1 KiB
Bash
Raw Normal View History

2024-09-02 02:00:52 +02:00
# Public environment settings
#
2025-07-23 01:25:04 +02:00
# You should put private stuff to .penv. It is handled the same way as this
2025-07-23 03:18:34 +02:00
# file but will be ignored by .gitignore. In .penv stored vars are overwriting
# vars from here.
2024-09-02 02:00:52 +02:00
#
2025-08-05 01:59:13 +02:00
osname=$(uname)
2025-07-23 01:25:04 +02:00
# History settings
2025-07-23 03:18:34 +02:00
HISTFILE=~/.zsh_history
2025-07-23 01:25:04 +02:00
HISTSIZE=100000
SAVEHIST=100000
2025-07-23 03:18:34 +02:00
# Extend the $PATH to $HOME/bin and more. I do this in .penv now, but this will
# remain for documentation reasons.
2025-05-11 13:30:03 +02:00
#export PATH=$HOME/bin:$HOME/.local/bin/:$HOME/.gem/ruby/3.4.0/bin:$HOME/.android/sdk/platform-tools:$HOME/.cargo/bin:$PATH
2024-09-02 02:00:52 +02:00
2025-08-05 01:59:13 +02:00
if [ "$osname" = "FreeBSD" ]; then
export EDITOR=/usr/local/bin/vim
2025-08-05 02:25:58 +02:00
elif [ "$osname" = "Linux" ]; then
2025-08-05 01:59:13 +02:00
export BROWSER=/usr/bin/firefox
export EDITOR=/usr/bin/vim
export SU=/bin/su
export TERMINAL='/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "Source Code Pro" -fs 14'
fi
2025-07-23 03:18:34 +02:00
# Fix to make JAVA applications behave more friendly in awesome. Still many JAVA
# apps suck in awesome. PyCharm works perfect, Arduino does not!
export _JAVA_AWT_WM_NONREPARENTING=1