From b4c0b21a92978a06fbfb15144ec96ead69bcbce1 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 18 Jul 2023 00:19:34 -0500 Subject: Add sh compliant shortcuts --- sh/functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sh/functions') 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 -- cgit v1.2.3