Post by marius eriksenPost by Brian VitoIs there a way to have Acme's Win command start an rc session
rather than bash? Also, is it possible to set the bash prompt to
PS1=": {\w} %; " if bash is started by Win? Thanks again.
export SHELL=rc
For the latter, you might find it useful to make PS1 conditional on $TERM.
This is what I use in my dotfiles to turn off the "fancy term" stuff
for use in Win/9term.
https://github.com/goozbach/dot_files/blob/master/_profile.d/95-plan9.sh
It undoes my colorful terminal prompt; re-aliases git, tree, lc, and
grep to remove color and make more 9term/plumber friendly; and
overrides the cd command to update acme's working directory.
There are probably a couple of additional things I could make it do
but I've not yet ran into other issues.
BTW I'm still using BASH as my $SHELL, I should go 'whole hog' and try
rc, but baby steps... baby steps...
- --
Derek