Remove hyphen from bash when reloading

pull/764/head
Nick Silva 2016-07-22 17:43:07 -07:00
parent fb85db14a9
commit 2d7881022a
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ _disable-thing ()
rm $BASH_IT/$subdirectory/enabled/$(basename $plugin)
fi
exec $0
exec ${0/-/}
printf '%s\n' "$file_entity disabled."
}
@ -323,7 +323,7 @@ _enable-thing ()
ln -s ../available/$plugin $BASH_IT/$subdirectory/enabled/$plugin
fi
exec $0
exec ${0/-/}
printf '%s\n' "$file_entity enabled."
}