Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Start a clean zsh shell
- X-seq: zsh-users 18187
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: zzapper <david@xxxxxxxxxxxxxx>
- Subject: Re: Start a clean zsh shell
- Date: Mon, 2 Dec 2013 17:02:33 -0500
- Cc: Zsh-Users List <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=XCFeqySuLo76tP29uAYfVKUWuuzbrh/66Yh5ok9d3dY=; b=cA+Dhv1DvB6QJprIE6kV5OCOrdJE4va+/hfAGhuZ8IYjjqpVIuhkEv0rHWlkiTI/WZ g9t36FXxeCfeQnhhzcfS1wZ1prXScZY4KWB+WBLykxqbhAk/m67SsKjPDyiE+b52rzaz qaDnOYC71jM7hQszfdI1Ps25H+dSzadHW/3G2GFeAg20XR6z1wvD7JBl6jXuF+vIKAGk xQJnt42pTHkTCIZaJKQ9AE+9QPLZrAbbEBiUXNQj1eZTR5y8RhJBqI+tRETe3E7yh6rr sN+//Efo/OfD1FYzCOmA8g/6oziPGbBPd5fvUnqK9aY32jc3bkZ1SNqprSsf9PIwLE+p xdPA==
- In-reply-to: <XnsA28AD9C2F4395davidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA28AD9C2F4395davidrayninfocouk@80.91.229.13>
That somewhat depends on what you mean by "start"… you can run 'zsh
-f' to start zsh without reading the config files… but if you do that
from an existing zsh I think (read: assume) it probably inherits a lot
of the environmental variables.
When I need/want to do this on a Mac, I generally launch Terminal.app
(instead of my usual iTerm) because Terminal.app is set to launch
/bin/bash instead of /bin/zsh as my login shell (and I don't have any
customizations in my ~/.bashrc).
From there I do 'exec /bin/zsh -f'
That suits my purposes, but I'm not sure if it would suits yours.
TjL
On Mon, Dec 2, 2013 at 4:24 PM, zzapper <david@xxxxxxxxxxxxxx> wrote:
> Hi
> Is there a way to start zsh without any config apart from hiding the
> .zshrc?
>
> zzapper
>
> https://twitter.com/dailyzshtip
>
> ---
> This email is free from viruses and malware because avast! Antivirus protection is active.
> http://www.avast.com
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author