diff options
author | David Runge <david.runge@frqrec.com> | 2013-12-13 01:57:39 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2013-12-13 01:57:39 +0100 |
commit | 33c0d79d872b01eca800afa1d013ffe4adc56998 (patch) | |
tree | c548c0e2e1136d946431bffaa6a28c8733219b45 | |
parent | de19c977705f05e65cc81ecf54fb3c4291b84da8 (diff) | |
download | dotfiles-33c0d79d872b01eca800afa1d013ffe4adc56998.tar.gz dotfiles-33c0d79d872b01eca800afa1d013ffe4adc56998.tar.bz2 dotfiles-33c0d79d872b01eca800afa1d013ffe4adc56998.tar.xz dotfiles-33c0d79d872b01eca800afa1d013ffe4adc56998.zip |
Updated disk/by-id lines for external drives in lopen
-rw-r--r-- | .zsh.after/functions.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 8831257..5867ce4 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -224,10 +224,10 @@ function tar_tlz { function lopen () { case $1 in "music") - sudo cryptsetup luksOpen /dev/disk/by-uuid/b2a8c89e-22f3-4e16-bdd3-ef4bcac8ed4f $1 + sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE152RS $1 ;; "photos") - sudo cryptsetup luksOpen /dev/disk/by-uuid/b3c5a842-474b-4c2f-a246-abebe1da3450 $1 + sudo cryptsetup luksOpen /dev/disk/by-id/ata-ST9500325AS_6VE457TN $1 ;; esac sudo mount /dev/mapper/$1 /mnt/$1 |