diff --git a/bin/.bin/folder-shell b/bin/.bin/folder-shell index 3d15ea54..340a659a 100755 --- a/bin/.bin/folder-shell +++ b/bin/.bin/folder-shell @@ -5,9 +5,21 @@ CMD=$TERMINAL CWD='' +SIMPLE='' if [ ! -z "$1" ]; then - export initialCommand="$1" + while [ "$#" -gt 0 ]; do + case "$1" in + --simple|-s) + export SIMPLE=1 + export NO_COLOR=1 + shift + ;; + *) + export initialCommand="$1" + break + esac + done fi; # Get window ID