I have got two Google Chrome profiles, and each of them has its own history, bookmarks, settings, etc. In order to run the browser with a specified profile, I created a little Bash script called chrome and saved it in the $HOME/bin directory.
#!/bin/bash
if [ "$1" = "ks" ]
then
google-chrome --profile-directory=Default
echo X
elif [ "$1" = "x" ]
then
google-chrome --profile-directory="Profile 1"
else
echo "Wrong argument"
fi
For example, my name is Maksim, and it can be spelled as Maxim or Maksim.
If I use a Google account where my name is spelled as Maksim, I run chrome ks. And when I use my second Google account where my name is spelled as Maxim, I run chrome x.
For example, my name is Maksim, and it can be spelled as Maxim or Maksim.
If I use a Google account where my name is spelled as Maksim, I run chrome ks. And when I use my second Google account where my name is spelled as Maxim, I run chrome x.
Thanks, guys!