bash - How to launch babun in a specified directory -
now i'm using visual studio code , wanted make terminal use babun instead of default cmd.exe
in fact, have managed in theory - problem that, unlike cmd.exe
, directory i'm in upon starting terminal no longer open project, it's /home/myusername
(i.e. path in babun's directory tree).
kinda sucks, since don't want navigate directory every time.
next, found out how tell babun (in case, zsh.exe
) use default directory such c:/
adding cd /cygdrive/c
end of .zshrc - unfortunately, that's not want either, since don't want babun always use same directory.
now figured that, seeing comfortable option vsc*, there might console argument tells zsh.exe
use specific directory. sadly, couldn't find anything, hence question. weirdly enough
anyone know how me out? appreciate :)
*vsc allows specify path shell, array of arguments passed.
you place directory cmd file , run shell:
d: @rem note that's important change drive 'permanently' cd d:\home zsh.exe
and specify cmd file shell invoke.
Comments
Post a Comment