diff options
-rw-r--r-- | zsh.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/zsh.nix b/zsh.nix index 7d24aac..b86ca51 100644 --- a/zsh.nix +++ b/zsh.nix @@ -12,8 +12,6 @@ plugins=(git) - export EDITOR='nvim' - export GOPATH="$XDG_DATA_HOME/go" alias vim="nvim" alias ls='lsd' alias l='ls -l' @@ -24,7 +22,7 @@ alias repreconf='restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd' alias b-del="sudo btrfs subv delet /srv/snapshots/home" alias b-shot="sudo btrfs subvolume snapshot -r /home /srv/snapshots/home" - alias ba='[ -d /srv/snapshots/home ] && sudo btrfs subvolume delete /srv/snapshots/home; [ -d /srv/snapshots/root ] && sudo btrfs subvolume delete /srv/snapshots/root; sudo btrfs subvolume snapshot -r /home /srv/snapshots/home; sudo btrfs subvolume snapshot -r / /srv/snapshots/root; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd backup /srv/snapshots/home; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd backup /srv/snapshots/root;' + alias b-home='[ -d /srv/snapshots/home ] && sudo btrfs subvolume delete /srv/snapshots/home; sudo btrfs subvolume snapshot -r /home /srv/snapshots/home; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd backup /srv/snapshots/home;' alias r-clean="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd forget \ --keep-weekly 7 \ --keep-daily 7 \ |