mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
Add script log for elevation scripts.
This commit is contained in:
parent
2a1127bf10
commit
6ee67769a6
25 changed files with 102 additions and 99 deletions
15
home/.chezmoitemplates/bash_profile
Normal file
15
home/.chezmoitemplates/bash_profile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Location: /etc/profile.d/xdg-compat.sh
|
||||
# If elevated: copy it to /etc/profile.d/xdg-compat.sh
|
||||
# Else: Set as .bash_profile
|
||||
|
||||
# Set XDG Base Directory Path
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||
|
||||
# Source user's XDG-compliant Bash configs
|
||||
if [ -f "$XDG_CONFIG_HOME/bash/profile" ]; then
|
||||
. "$XDG_CONFIG_HOME/bash/profile"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue