mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-24 04:44:58 +08:00
6 lines
172 B
Fish
6 lines
172 B
Fish
|
function omf.xdg.config_home -d "Return the config directory based on XDG specs"
|
||
|
set -q XDG_CONFIG_HOME;
|
||
|
and echo "$XDG_CONFIG_HOME";
|
||
|
or echo "$HOME/.config"
|
||
|
end
|