Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A change in a prompt
- X-seq: zsh-users 23953
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: "Hoji, Akihiko" <akh22@xxxxxxxx>
- Subject: Re: A change in a prompt
- Date: Thu, 30 May 2019 23:42:59 +0200
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C++FkniCfNw+HAxyEZPAGcR27Y/lJF1vwOtURHl62yQ=; b=RJrm6+kysxfD5+lbl5LPx4gkcHHGV219Skc7MUCq0kXYC2JvE0sKeuCVpMkF9cC0Mz S78xQ5M1LOhFmAhhdpkSz1XAD4XxB/dasjdsjxlNcOERyCtGfUqEOEmZvi0An4rYBL/1 VPsD0jBphAlJqTJi+6Bxz28T2bBbmBCz6xBz9iRuTxOoRB2spLoxM8zAKON4XFte5LOx 0Jgcx2bOUubDre978lqHe55ct9gvqfLcuBgVVkqoTZvvjkgK8gd3WrhM5rQ8sBX3qU1r qYVKWGz5t6XFW18Nwc7Y7O2jSc2q25x500MyvwOVg5yD63Z4tMN5W9a2aZCjexSyeKPI Gl/w==
- In-reply-to: <23BB26B1-DA48-46B3-A8C5-37E15E9866AC@pitt.edu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <23BB26B1-DA48-46B3-A8C5-37E15E9866AC@pitt.edu>
I suppose you are using something like
https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes#spaceship-zsh.
It configures your prompt to display different properties of your ZSH
session. Apparently it can display your current conda environment, hence
you get "(base)" in the prompt.
If you'd like to learn how prompt is configured in ZSH, there is a good
short introduction at http://zsh.sourceforge.net/Intro/intro_14.html. If
this isn't enough, take a look at
http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html.
Roman.
On Thu, May 30, 2019 at 11:35 PM Hoji, Akihiko <akh22@xxxxxxxx> wrote:
> HI,
>
> I have an newbie question. I am running Oh-my-zsh in my Mac and after
> installing Miniconda through Homebrew, a command prompt changed to from
> “->" to "(base) -> “ Could anybody explain what this (base) addition means
> and how it was created after miniconda installation.
>
> Thanks in advance.
>
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author