aboutsummaryrefslogtreecommitdiff
path: root/Shell/.zprofile
blob: fe91285630147953d3ee0831b4bcf12774369f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# .zprofile -*- mode: sh; lexical-binding: t; -*-

# XDG variables
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR=/run/user/`id -u`

# Standard Variables
export EDITOR='emacsclient -a "emacs" -c'
export EA_EDITOR=$EDITOR
export BROWSER="firefox"
export TERMINAL="st"
export WEBKIT_FORCE_SANDBOX=0
export PF_INFO="ascii title os memory uptime editor wm shell"
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin/vendor_perl/:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin"
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
export DOTNET_CLI_TELEMTRY_OPTOUT=1
export force_color_prompt=yes
export DOTNET_ROOT=~/.local/src/dotnet
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"

# Setup debuginfod
sh /etc/profile.d/debuginfod.sh

# Import useful variables to systemd
systemctl --user import-environment PATH SSH_AUTH_SOCK

# Run some programs
echo "Welcome to..."
figlet "Arch Linux"
/usr/bin/pfetch

# Start XServer if on TTY1 and it is not already active.
[[ $TTY == "/dev/tty1" ]] && (pgrep -i "startx" || exec startx)