From 6d0b1ea3b98ef99649d5a6ea68a42fe021774cf6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 22 Sep 2016 21:24:37 +0200 Subject: .zsh.after/functions.zsh: Add switch/case for trvlr to mount storage mSATA. --- .zsh.after/functions.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.zsh.after') diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 2c06e1c..d540cbc 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -268,6 +268,17 @@ lopen() { ;; esac ;; + "trvlr") + case $1 in + "storage") + sudo cryptsetup luksOpen "/dev/disk/by-uuid/3f781aab-24b5-4de0-8632-b9df922d6433" $1 + ;; + *) + echo "Error! Device $1 is not available" + return 1 + ;; + esac + ;; "dvzrv" | "trvlr" | "apu-serve") case $1 in "music") -- cgit v1.2.3-54-g00ecf