Set XDG Base Directories in fish
This commit is contained in:
parent
46135086c2
commit
f77e672a6b
2 changed files with 6 additions and 2 deletions
4
fish/dot-config/environment.sh
Normal file
4
fish/dot-config/environment.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
export XDG_STATE_HOME="$HOME/.local/state"
|
|
@ -1,7 +1,7 @@
|
||||||
set -U fish_greeting
|
source ~/.config/environment.sh
|
||||||
|
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
set -g fish_greeting
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
|
|
Loading…
Add table
Reference in a new issue