From a41ca6c02d0b709a196ae86791404c2bc0efec91 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 18 Jan 2014 03:30:12 +0100 Subject: Adding a backup harddrive to the open function --- .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 cf0f86a..284b837 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -245,7 +245,7 @@ function lopen () { ;; esac ;; - "dvzrv") + "dvzrv" | "nashoe") case $1 in "music") sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE152RS $1 @@ -253,6 +253,9 @@ function lopen () { "photos") sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE457TN $1 ;; + "backup") + sudo cryptsetup luksOpen /dev/disk/by-id/ata-HGST_HTS725050A7E630_TF755AWHHS9S1M $1 + ;; esac esac if [[ -e "/dev/mapper/$1" ]]; then -- cgit v1.2.3-70-g09d2