aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-08-11 02:05:43 +0200
committerDavid Runge <dave@sleepmap.de>2015-08-11 02:05:43 +0200
commit744c292e75429aa9d4f11dd69c6e0d56c1742a03 (patch)
tree811e2aa15c10a5d85af04aac9cc28da86fe0644d
parent645574233e19e3637e813d63f02d5b8ff7d49c17 (diff)
downloaddotfiles-744c292e75429aa9d4f11dd69c6e0d56c1742a03.tar.gz
dotfiles-744c292e75429aa9d4f11dd69c6e0d56c1742a03.tar.bz2
dotfiles-744c292e75429aa9d4f11dd69c6e0d56c1742a03.tar.xz
dotfiles-744c292e75429aa9d4f11dd69c6e0d56c1742a03.zip
.zsh.after/functions.zsh: Adding new backup hdd. Moving backup-audio to former backup disk.
-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 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