summaryrefslogtreecommitdiff
path: root/sh/functions
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-18 00:19:34 -0500
committerZachIR <zachir@zdx-raina>2023-07-26 10:25:26 -0500
commit1f8201bcb27bdefdb411431dac564ac216140923 (patch)
tree337b100495b701443475243b6a390fc05c37e3ed /sh/functions
parentc5f6fae2d9217103ebb1a8883ed66416daffe449 (diff)
Add sh compliant shortcuts
Diffstat (limited to 'sh/functions')
-rw-r--r--sh/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/functions b/sh/functions
index 3c73fb7..44d8e4f 100644
--- a/sh/functions
+++ b/sh/functions
@@ -32,6 +32,9 @@ if [[ "$SHELL" =~ .*zsh$ ]]; then
if [[ $1 != *"veracrypt"* ]]; then
print -sr -- "${1%%$'\n'}"
fc -p
+ elif [[ $1 != *"cryptsetup"* ]]; then
+ print -sr -- "${1%%$'\n'}"
+ fc -p
else
return 1
fi