Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Shell Escape and loosing working directory



On 17 Jul, "tbo" wrote:
> 
> I have a problem with 4.2.0 , where programs are login shell (zsh) for shell
> escapes. Here is an example with oracle sqlplus, but it also occurs within
> vi (but not in ed, ed is using sh as shell for escapes..)

> B0009189:~/Shell > pwd
> /home/r1064u/Shell

> SQL> !pwd
> /

Have you perhaps got a cd command in one of the startup files (.zshenv
or /etc/zshenv). What is $SHELL set to? What does this print:
  zsh -c 'pwd'

Oliver



Messages sorted by: Reverse Date, Date, Thread, Author