This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bash + Shell hack = ?


Hi,

I've got an option for my "File Folder" file type so that if I right-click
on a folder, I can execute a cmd.exe prompt in that folder:

cmd.exe /K cd "%1"


What I'm wondering is if something analogous to the /K switch exists for
Bash, so that I can run a command before starting the login shell. the
"-c" option is similar, but the shell exits after running the command
specified. What I want is for it not to exit.

Thanks,
Luke


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]