diff options
Diffstat (limited to 'fish/.local/etc/fish/conf.d/beet.fish')
-rw-r--r-- | fish/.local/etc/fish/conf.d/beet.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fish/.local/etc/fish/conf.d/beet.fish b/fish/.local/etc/fish/conf.d/beet.fish new file mode 100644 index 0000000..0882aba --- /dev/null +++ b/fish/.local/etc/fish/conf.d/beet.fish @@ -0,0 +1,9 @@ +if command -s beet &>/dev/null + set -x BEETSDIR $XDG_DATA_HOME/beets + + set beets_config $XDG_CONFIG_HOME/beets/config.yaml + if test -e $beets_config + alias beet "beet -c $beets_config" + end + set -e beets_config +end |