Files
dotfiles/Shell/.zprofile
Aryadev Chavali fbbe68f319 (Shell)+systemd call to import user PATH to modules, debuginfo call
SystemD now knows my path on user login, which is a great help as
Emacs has always been kinda weird in server mode (which I've only just
figured out to be a problem of SystemD rather than Emacs).

debuginfod's profile script for some reason doesn't work for zsh,
which means the ~DEBUGINFOD_URL~ variable isn't set.  So set it up
here.
2022-09-14 00:45:42 +01:00

31 lines
967 B
Bash

# .zprofile -*- mode: sh; lexical-binding: t; -*-
# Standard Variables
export EDITOR='emacsclient -a "emacs" -c'
export EA_EDITOR=$EDITOR
export TERMINAL="alacritty"
export BROWSER="chromium"
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/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$HOME/.emacs.d/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 guile=guile2.2
# 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`
# Import path to systemd
systemctl --user import-environment PATH
# Setup debuginfod
sh /etc/profile.d/debuginfod.sh
# Run some programs
/usr/bin/pfetch
misfortune