I'm switching over to zsh from bash, but as I'm getting used to everything, is there a way to run a single command with a shell other than my default shell, so I can maintain my normal workflow? Ideally, I would like bash to maintain the environment of my config files.
Say I have some alias which is only in my bash aliases:
I want to do something like this
bash <some bash command>
I tried hacking a script:
~/bin/mybash
#!/bin/bash
source ~/.bashrc
$@
% ~/bin/mybash which <my bash alias> <- no success