diff options
| author | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-12-11 23:33:16 -0800 |
|---|---|---|
| committer | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-12-11 23:33:16 -0800 |
| commit | 487d64163c59fa3de79b5ff1abf303475395c4a2 (patch) | |
| tree | 6339b3c8bbf7bdfe10e8c006c9cfbae9f66f527e /.bashrc | |
| parent | 88de5bcf9b1598c5ada352d1f3b724423bf7e6ad (diff) | |
Restructure entire home directory
The new XDG base directories will resemble the Filesystem Hierarchy
Standard on Linux or the FreeBSD/OpenBSD directory structure. Refer to
the FHS or hier(7).
XDG user directories are defined in $XDG_CONFIG_HOME/user-dirs.dirs.
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,12 +7,12 @@ PS1="\[\033[38;5;3m\][\u@\h \w]\[\033[0m\] \$ " shopt -s histappend HISTSIZE=100000 HISTFILESIZE=100000 -HISTFILE="$HOME/.cache/bash/history" +HISTFILE="$XDG_CACHE_HOME/bash/history" # GPG. export GPG_TTY="$(tty)" # Load aliases. -if [ -f "$HOME/.config/aliasrc" ]; then - source "$HOME/.config/aliasrc" +if [ -f "$XDG_CONFIG_HOME/aliasrc" ]; then + source "$XDG_CONFIG_HOME/aliasrc" fi |
