aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/functions.zsh11
1 files changed, 11 insertions, 0 deletions
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")