I want to create a simple script to launch nvim (not gvim) in separate terminal window (I'm using urxvt term). Currently I have:
#!/usr/bin/env bash exec urxvt -hold -e "vim" It seems legit and works but the problem is that vim theme is not loaded when opening the terminal (probably because .bashrc is not read or some other weird issues with base16-shell).
Plugins do load though which means that nvim's init file is loaded. I tried to do something like
exec urxvt -hold -e "source <absolute_path>/.bashrc; vim"
to force base16-shell to load the terminal theme (which might be a dependency for a vim's one) but it still doesn't work.
I feel that I'm missing something but I can't get it right. How to get this script working?