aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-01-18 03:30:12 +0100
committerDavid Runge <david.runge@frqrec.com>2014-01-18 03:30:12 +0100
commita41ca6c02d0b709a196ae86791404c2bc0efec91 (patch)
tree6e91243ac94b654b9c791e5a58af22b4788f4010
parent79327415c1417a77fbc07c144e3cbd05a18cbe2c (diff)
downloaddotfiles-a41ca6c02d0b709a196ae86791404c2bc0efec91.tar.gz
dotfiles-a41ca6c02d0b709a196ae86791404c2bc0efec91.tar.bz2
dotfiles-a41ca6c02d0b709a196ae86791404c2bc0efec91.tar.xz
dotfiles-a41ca6c02d0b709a196ae86791404c2bc0efec91.zip
Adding a backup harddrive to the open function
-rw-r--r--.zsh.after/functions.zsh5
1 files changed, 4 insertions, 1 deletions
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