aboutsummaryrefslogtreecommitdiff
path: root/firefox-profile
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-profile')
-rwxr-xr-xfirefox-profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/firefox-profile b/firefox-profile
index a5dc545..f7cee61 100755
--- a/firefox-profile
+++ b/firefox-profile
@@ -14,9 +14,9 @@ if ! which firefox &> /dev/null; then
fi
# Dispatch
-#if [ ! -z "$1" ] && [ "$1" == "private" ]; then
-# firefox -private
-if [ ! -z "$1" ]; then
+if [ ! -z "$1" ] && [ "$1" == "private" ]; then
+ firefox -private-window
+elif [ ! -z "$1" ]; then
if [ ! -d "$PROFILES/$1" ]; then
firefox -CreateProfile "$1 $PROFILES/$1"