diff options
-rw-r--r-- | .zsh.after/functions.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 82e0c0e..46439a4 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -275,9 +275,12 @@ lopen() { ln -s /mnt/photos/shotwell/ ~/.cache/shotwell fi ;; - "backup") + "backup-audio") sudo cryptsetup luksOpen /dev/disk/by-id/ata-HGST_HTS725050A7E630_TF755AWHHS9S1M $1 ;; + "backup") + sudo cryptsetup luksOpen "/dev/disk/by-id/usb-ST950042_0ASG_55DFFFFFFFFF-0:0" $1 + ;; esac esac if [[ -e "/dev/mapper/$1" ]]; then |