diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..3c534b9 --- /dev/null +++ b/.bashrc @@ -0,0 +1,7 @@ +if [ -f "${ENV}" ]; then + source "${ENV}" +elif [ -f "~/.env" ]; then + source "~/.env" +elif [ -f "~/.shrc" ]; then + source "~/.shrc" +fi diff --git a/.env b/.env new file mode 100644 index 0000000..026ab86 --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +export PS1='$USER@$HOSTNAME \w \$ ' +alias ls='ls -F' +if ! command -v doas &> /dev/null; then + alias doas=sudo +fi diff --git a/.profile b/.profile index 82e3813..b6ed195 100644 --- a/.profile +++ b/.profile @@ -1,6 +1,8 @@ -export PS1='$USER@$HOSTNAME \w \$ ' -export ENV=~/.shrc +export ENV=~/.env export PATH=~/bin:$PATH export EDITOR=vim export GIT_EDITOR='vim -c ":set ft=gitcommit"' export BEMENU_OPTS="--nb '#000000' --hb '#000000' --tb '#000000' --fb '#000000' --hf '#ff79c6' --tf '#ff79c6' --fn 'monospace 8'" +export QT_QPA_PLATFORM=wayland +source "${ENV}" +welcome