Hello,
I use fish. I start fish by putting this code at the bottom of .bashrc (I also tried to set fish as the default shell to check if it works with xcwd)
if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" ]]
then
exec fish
fi
I use I3 and I tried every command possible in the .config after the bindsym $mod+o exec : sh -c 'termite -d \"$(xcwd)\"' I tried exec "termite -d $(xcwd)"
It works with bash.
I can open a new terminal in the same folder if when I'm into a terminal using fish I execute "bash --norc" to start bash and then I do the $mod+o (or whatever bind I created) then it works even when the new terminal opened uses fish as a shell. I noticed it also works if vim is opened inside fish.
Hello, I use fish. I start fish by putting this code at the bottom of .bashrc (I also tried to set fish as the default shell to check if it works with xcwd)
I use I3 and I tried every command possible in the .config after the bindsym $mod+o exec : sh -c 'termite -d \"$(xcwd)\"' I tried exec "termite -d $(xcwd)" It works with bash. I can open a new terminal in the same folder if when I'm into a terminal using fish I execute "bash --norc" to start bash and then I do the $mod+o (or whatever bind I created) then it works even when the new terminal opened uses fish as a shell. I noticed it also works if vim is opened inside fish.