-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/11/13 1218, marius eriksen wrote: > On Jun 11, 2013, at 4:09 PM, Brian Vito <brian.v...@gmail.com> > wrote: > >> Is 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRv2YZAAoJECcWlbcE84qzkl8P/iPdqx6npm9IShfoH8HxEGRa Hm7TAIt5CALi+Quz9l517m3ImvfickjycYNUD1iP/mwi2HuHBQqXAJFLh1cu+lCf 3//LQWz9vmxvY1c0X8YoQgEBPeIdUNGPogrIO6CHiieLFwlAFonf0ZswtlMDme3z LEXyEYL41kajiqPkl0Yx99aTUeNBf7pVYIp+dLCyDJr8/+EqTvHMPOcq+CxOlZsK GPC6WEt5QjvTIyXF6qW5TNNUOegEDphutnTrV9ZfVsblqAPuikYbGZ2fnb/1Ed3J mWitnMKJTUZk5NYbi2G8COSChgSQbdgCXUpSAkfbQZtrYe2WiLdO7wb3RIV1iyLr mTlO1h/hKuD/82hzb3J/VkQujWCYGzbwtgPzZwaLzuw9tkqrz+iYXZGZPiDcj4+J 8wxVfg/G3VHCm+IjAmABTaRYyHyANhB6WV+Maj+aml0v2SHjaL8IvfAMxVC80Dvg y18FKhmXv6z5l/ybDMtH9RIwF2cE5dDU67IbZ1bBNLswhQR+2Bu4RcUdIj8pTeMI 0dnxQe3U0AjgJcbe4kNgHw75IpgxEm2V2uNNO83KL+Dh8cxlY/93HAXrPV8XWFut Sc01CtdOAc+Zkbppv/QUbQj6KQKN8geOhjjSF6k34IMi8Vgb6DGfFDooduT0cIMb /SN0Ad3Q0z7sTccjiDVq =spO7 -----END PGP SIGNATURE-----