aboutsummaryrefslogtreecommitdiffstats
path: root/shell/dash/.profile
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2026-01-24 09:01:19 +0100
committerFilip Wandzio <contact@philw.dev>2026-01-24 09:01:19 +0100
commita44dde93388f1c5c9ed6ea73d5e9ee7849e2d475 (patch)
treeb70fc06203133bebf4a51820f48bf8effa2ee9c2 /shell/dash/.profile
parentb34e284c6225e72fe7d612f8913d0a35b9d7ea17 (diff)
downloaddotfiles-a44dde93388f1c5c9ed6ea73d5e9ee7849e2d475.tar.gz
dotfiles-a44dde93388f1c5c9ed6ea73d5e9ee7849e2d475.zip
Update thesisHEADmaster
Diffstat (limited to 'shell/dash/.profile')
-rw-r--r--shell/dash/.profile27
1 files changed, 26 insertions, 1 deletions
diff --git a/shell/dash/.profile b/shell/dash/.profile
index c2f3182..10cb98f 100644
--- a/shell/dash/.profile
+++ b/shell/dash/.profile
@@ -1 +1,26 @@
1. "$HOME/.cargo/env" 1export XDG_DATA_HOME="$HOME/.local/share"
2export XDG_CONFIG_HOME="$HOME/.config"
3export XDG_STATE_HOME="$HOME/.local/state"
4export XDG_CACHE_HOME="$HOME/.cache"
5
6if [ -z "$XDG_RUNTIME_DIR" ]; then
7 export XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
8 mkdir -pm 0700 "$XDG_RUNTIME_DIR"
9fi
10
11export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
12touch "$XAUTHORITY"
13chmod 600 "$XAUTHORITY"
14
15if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
16 exec startx "$XDG_CONFIG_HOME/x/xinitrc"
17fi
18
19case "$-" in
20 *i*)
21 if [ -z "$BASH_VERSION" ]; then
22 exec bash --login
23 fi
24 ;;
25esac
26