home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!csn!boulder!ucsu!tramp.Colorado.EDU!brandy
- From: brandy@tramp.Colorado.EDU (BRANDAUER CARL M)
- Subject: Re: how come : ! out of vi always uses sh instead of $SHELL ???
- Message-ID: <1992Aug27.030505.26800@ucsu.Colorado.EDU>
- Sender: news@ucsu.Colorado.EDU (USENET News System)
- Nntp-Posting-Host: tramp.colorado.edu
- Organization: University of Colorado, Boulder
- References: <fish.714853851@news2.gsfc.nasa.gov>
- Date: Thu, 27 Aug 1992 03:05:05 GMT
- Lines: 20
-
- fish@daacdev1.stx.com writes:
-
- >whenever i :! out of vi it uses /bin/sh instead of $SHELL
- >so all of my aliases are lost, etc and makes it very limited
-
- Vi uses the variable 'shell' which must be set explicitly in either
- your EXINIT variable or in .exrc. You can verify your efforts with
-
- :set shell
-
- after starting vi again.
-
- NOTE: Some versions of vi, including the one I am using now, let the
- user modify the variable with
-
- :set shell=whatever
-
- As always, no spaces around the =.
-
- Good luck and cheers - Carl
-