]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Zsh compat
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 24 Sep 2017 16:32:04 +0000 (13:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 24 Sep 2017 16:32:04 +0000 (13:32 -0300)
chromium-profile

index c815a0e28bf7100de6186d394212b3fd8b39db0b..5587825c9ad4db5f3bc4b599928766a2488af22f 100755 (executable)
@@ -10,9 +10,9 @@ if [ -z "$1" ]; then
 fi
 
 if which chromium 2> /dev/null; then
-  BASE="~/.config/chromium-profiles"
+  BASE="$HOME/.config/chromium-profiles"
   PROFILE="$BASE/$1"
-  mkdir -p $PROFILE
+  mkdir -p "$PROFILE"
   shift
 
   CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $*