home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!dsacg3.dsac.dla.mil!dsac.dla.mil!hq.dla.mil!fazc016
- From: fazc016@hq.dla.mil (Don Costello)
- Newsgroups: comp.unix.questions
- Subject: Re: how come : ! out of vi always uses sh instead of $SHELL ???
- Message-ID: <857@hq.dla.mil>
- Date: 27 Aug 92 14:32:17 GMT
- References: <fish.714853851@news2.gsfc.nasa.gov>
- Organization: HQ Defense Logistics Agency/DASC, Cameron Station, VA
- Lines: 34
- X-Newsreader: Tin 1.1 PL4
-
- 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
- :
- : i'm just beginning to see just how powerful vi really is but
- : this one is screwing me up royally
- :
- On my BSD4.3 machine I get the following:
-
- :!
- Incomplete shell escape command. Use 'shell' to get a shell
-
- :shell
-
- shell-prompt: echo $SHELL
- /etc/zsh
-
- If you're VI doesn't have "shell" you could explicitly execute it
- (:! /bin/csh for example)
-
- What type/version of VI are you using?
-
- -- dcc --
-
- --
- +------------------------------------+---------------------------+
- | Don Costello, DASC-ZSC | It's hard to cram this |
- | DLA Cameron Station, VA | signature into just 4 |
- | TEL: (703) 274-7215 AV: 284-7215 | lines!!! |
- --
- +------------------------------------+---------------------------+
- | Don Costello, DASC-ZSC | It's hard to cram this |
- | DLA Cameron Station, VA | signature into just 4 |
- | TEL: (703) 274-7215 AV: 284-7215 | lines!!! |
-