From 744c292e75429aa9d4f11dd69c6e0d56c1742a03 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 11 Aug 2015 02:05:43 +0200 Subject: .zsh.after/functions.zsh: Adding new backup hdd. Moving backup-audio to former backup disk. --- .zsh.after/functions.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2