summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/functions b/sh/functions
index e8515d8..7a9f715 100644
--- a/sh/functions
+++ b/sh/functions
@@ -36,6 +36,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