aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after/functions.zsh
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-11-20 15:31:09 +0100
committerDavid Runge <david.runge@frqrec.com>2013-11-20 15:31:09 +0100
commit26d7648f23fd964a9172a4c6222d884f76240160 (patch)
treee75bbb8dcbd5f3659e6b503add36e176d37c5c80 /.zsh.after/functions.zsh
parent4eb689c1082a3ab6704086c7b351f4e0762d4f8f (diff)
downloaddotfiles-26d7648f23fd964a9172a4c6222d884f76240160.tar.gz
dotfiles-26d7648f23fd964a9172a4c6222d884f76240160.tar.bz2
dotfiles-26d7648f23fd964a9172a4c6222d884f76240160.tar.xz
dotfiles-26d7648f23fd964a9172a4c6222d884f76240160.zip
Updating functions
Diffstat (limited to '.zsh.after/functions.zsh')
-rw-r--r--.zsh.after/functions.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh
index e43dbd6..f136a4b 100644
--- a/.zsh.after/functions.zsh
+++ b/.zsh.after/functions.zsh
@@ -234,7 +234,8 @@ function lopen () {
function lclose () {
mountpoint /mnt/$1
- notmounted=$?
+ notmounted=$($?)
+ echo $notmounted
if [[ $notmounted != 0 ]] ; then
sudo umount /mnt/$1
sudo cryptsetup luksClose $1