When in vim I try to execute a persistent command, ie alias gh=history | grep -a cd it seems to work at first but then I go to shell and type gh it says command not found. Note : I'm in tty shell, I'd like this to work both in terminal emulator and tty.
How to execute persistent command from vim to bash?
external command