Better offline

This commit is contained in:
Austen Adler 2016-01-22 13:47:57 -05:00
parent e2b86551f6
commit 0772801384

View File

@ -172,7 +172,7 @@ function offline(){
if [ ! -z "$@" ] ; then
sudo unshare -n -- sudo -u stonewareslord zsh -c "$@"
else
sudo unshare -n -- sudo -u stonewareslord zsh
sudo unshare -n -- sudo -u stonewareslord LP_MARK_PREFIX=" $(tput setaf 1)(offline)$(tput sgr0) " zsh
fi
}
function smon(){