Make backup script actually fish-compatible

This commit is contained in:
Anthony Wang 2022-06-27 15:01:06 -05:00
parent db11a370de
commit cd2d189761
Signed by: a
GPG key ID: BC96B00AEC5F2D76

4
backup
View file

@ -5,8 +5,8 @@
# https://gist.github.com/bradfa/a710a4e4b83b07b7a8be77cae86ff56b
# https://gist.github.com/jasontbradshaw/6a69d7c9ae0c73f54200
name=(date -u +'%Y-%m-%d')
repository=/mnt/drive/bup
set name (date -u +'%Y-%m-%d')
set repository /mnt/drive/bup
# Set the `bup` directory here so it affects all the `bup` commands.
export BUP_DIR=$repository