mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Fixed backup scripts
This commit is contained in:
parent
ce404c763c
commit
1e2a69e2d0
4 changed files with 29 additions and 22 deletions
|
|
@ -1,5 +1,12 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
if test -e source ~/.config/fish/variables-$(hostname).fish
|
||||
source ~/.config/fish/variables-$(hostname).fish
|
||||
else
|
||||
echo "Failed to find back credentials in fish variables file"
|
||||
exit 1
|
||||
end
|
||||
|
||||
set current_date $(date +%Y-%m-%d)
|
||||
|
||||
set log_dir "$XDG_STATE_HOME/logs/backups"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue