From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22527 invoked by alias); 26 Mar 2014 09:00:29 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18679 Received: (qmail 20352 invoked from network); 26 Mar 2014 09:00:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 X-Virus-Scanned: Debian amavisd-new at vilya.m0g.net Date: Wed, 26 Mar 2014 09:52:24 +0100 From: Guyzmo To: Florian Lindner Cc: zsh-users@zsh.org Subject: Re: Using zsh from another shell Message-ID: <20140326085224.GC28059@vilya.m0g.net> References: <7216394b674964d82cdc81f881731f4c@xgm.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7216394b674964d82cdc81f881731f4c@xgm.de> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) Hi, On Wed, Mar 26, 2014 at 09:37:22AM +0100, Florian Lindner wrote: > I have a SSH account on a machine where I can't change the shell. The > default login shell is tcsh. Right now I invoke zsh by calling it as the > last command in ~/.cshrc. It seems to work fine except that I need to type > exit twice to close the session. > Are there any other potential problems I haven't noticed so far? you should'nt have any problem so far, I have done that for a while when my university was forcing us to use ksh. I then had all my favorite tools compiled in my account, and shared those with all the other nerdy students at the time. > Is there a way to work around the twice exit issue? > Is there a recommended way of using/invoking zsh in this situation? well, you don't need to exit twice, just do: exec /path/to/zsh and it will replace your tcsh shell instance with zsh's. HTH, -- Guyzmo