Hi. I haven't found any other place where to ask so I try here. I am creating install script to duplicate my personal environment to another computer and I am trying to install fish and oh-my-fish as part of that script. When I simply use install command for oh-my-fish, the script exits because omf is opening new session. I tried to enclose it inside sh -c "$(...)" but is seems that it still opens that session inside that command and sh -c never finishes. Have somebody tried something like that or do you have any advice?
Videos
Hi,
I wanted to put the installation commands for oh-my-fish into a bash script so that whenever I move to a new system, I can just run the script which will do the system configuration (including handling my dotfiles) for me. So, whenever, I run,
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install > install fish install --path=~/.local/share/omf --config=~/.config/omf
as mentioned, in the README.md on the oh-my-fish GitHub repository, it drops me into the fish shell, due to which the bash script can't proceed. Ideally, I expect the bash script to install oh-my-fish, then install the robbyrussell theme, exit out of the fish shell, and continue. So could someone suggest a way of doing this?
Thanks