A ZSH theme based on agnoster with focus on screen real estate.
$ brew install zsh
$ chsh -s $(which zsh)
Add the following to your .zshrc
if ! zgen saved; then
...
zgen load m-lima/simpalt simpalt.zsh-theme
...
zgen save
fi
Add the following to your .zshrc
if ! zgen saved; then
zgen prezto
zgen prezto prompt theme 'simpalt'
...
zgen load m-lima/simpalt
...
zgen save
fi
Add the following to your .zshrc
zplug "m-lima/simpalt", as:theme
Download the theme
$ cd ~/.oh-my-zsh/custom
$ git clone https://github.com/m-lima/simpalt
Add the following to your .zshrc
ZSH_THEME="simpalt"
Download the theme
$ cd <whereever_you want_to_install>
$ git clone https://github.com/m-lima/simpalt
Add the following to your .zshrc
source <whereever_you want_to_install>/simpalt.zsh-theme
If set to anything, the prompt will be presented in compact mode; otherwise, the full prompt will be presented.
This array will set all segments that compose the prompt.
When in a git repository, if the current branch is present in this list, it's name will be omitted.
Available segments:
- prompt_aws
- prompt_status
- prompt_context
- prompt_virtualenv
- prompt_dir prompt_git
You can enable quick switch between compact and full mode by registering something similar to the following in your .zshrc
:
ts() { [ $SIMPALT_SMALL ] && unset SIMPALT_SMALL || SIMPALT_SMALL=1 }
Then, just use the ts
command to swtich between prompt styles