diff options
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshfunctions | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.zsh/zshfunctions b/.zsh/zshfunctions index e63ac19..6cf1f14 100644 --- a/.zsh/zshfunctions +++ b/.zsh/zshfunctions @@ -112,6 +112,17 @@ check_libs() done } +menc() +{ + local p + + read -rs "p?Password: " + echo $p | encfs --stdinpass ~/.enc/schreiben_in ~/schreiben/in + echo $p | encfs --stdinpass ~/.enc/schreiben_out ~/schreiben/out + + unset p +} + if [[ $UID == 0 ]]; then # unpack a package |