When I am running Cygwin.bat
I've got my all my custom stuff working from .bash_profile
but when I am just running bash
none of my stuff from .bash_profile
is working and I am just got wired prefix like root@comp:/mnt/c/cygwin64#
(as my current dir)
Is there any way to achieve the same result when running bash
as I got when running Cygwin.bat
the content of Cygwin.bat
is:
@echo off
C:
chdir C:Toolscygwin64in
bash --login -i
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…