Make backup script actually fish-compatible
This commit is contained in:
parent
db11a370de
commit
cd2d189761
4
backup
4
backup
|
@ -5,8 +5,8 @@
|
||||||
# https://gist.github.com/bradfa/a710a4e4b83b07b7a8be77cae86ff56b
|
# https://gist.github.com/bradfa/a710a4e4b83b07b7a8be77cae86ff56b
|
||||||
# https://gist.github.com/jasontbradshaw/6a69d7c9ae0c73f54200
|
# https://gist.github.com/jasontbradshaw/6a69d7c9ae0c73f54200
|
||||||
|
|
||||||
name=(date -u +'%Y-%m-%d')
|
set name (date -u +'%Y-%m-%d')
|
||||||
repository=/mnt/drive/bup
|
set repository /mnt/drive/bup
|
||||||
|
|
||||||
# Set the `bup` directory here so it affects all the `bup` commands.
|
# Set the `bup` directory here so it affects all the `bup` commands.
|
||||||
export BUP_DIR=$repository
|
export BUP_DIR=$repository
|
||||||
|
|
Loading…
Reference in a new issue