Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/othiagos/rigel-zsh-theme
https://github.com/othiagos/rigel-zsh-theme
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/othiagos/rigel-zsh-theme
- Owner: othiagos
- License: mit
- Created: 2023-01-07T16:27:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-29T16:13:24.000Z (5 months ago)
- Last Synced: 2024-04-16T15:21:41.291Z (about 2 months ago)
- Language: Shell
- Size: 1.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - rigel - Includes decorators for `git` information, user@hostname and current directory. (Themes / ZSH on Windows)
README
# Theme Rigel
## **Dependence**
* terminal: [Zsh](https://www.zsh.org/)
* framework: [Oh My Zsh](https://ohmyz.sh/)### **Download via curl**
```bash
curl https://raw.githubusercontent.com/othiagos/rigel-zsh-theme/master/rigel.zsh-theme -sO --output-dir $ZSH_CUSTOM/themes/
```### **Download via wget**
```bash
wget https://raw.githubusercontent.com/othiagos/rigel-zsh-theme/master/rigel.zsh-theme -qP $ZSH_CUSTOM/themes/
```### **Set Rigel Theme**
```bash
sed -i 's/ZSH_THEME="\([^"]\|\\"\)*"/ZSH_THEME="rigel"/g' ~/.zshrc
```## **Setup**
Adding configuration to `~/.zshrc`Open your `~/.zshrc` file and append the following configurations:
```bash
# Set to 0 to disable, 1 to enable; other values are considered as enabled
export VIRTUAL_ENV_DISABLE_PROMPT=0 #required
export USER_INFO_DISABLE_PROMPT=0 #optional
export SPACE_BEFORE_COMMAND_DISABLE_PROMPT=0 #optional
```
### Configuration Details**VIRTUAL_ENV_DISABLE_PROMPT**
This setting controls the visibility of virtual environments in the prompt when available**USER_INFO_DISABLE_PROMPT**
Enabling this option displays the user's name and machine information in the prompt in the format " in "**SPACE_BEFORE_COMMAND_DISABLE_PROMPT**
When activated, this setting adds a line break before the command prompt### Additional Notes
* Ensure you have a Nerd Font installed and configured as your terminal font to properly render icons and glyphs used in the prompt
* Ensure that you've saved your `~/.zshrc` file after making these changes
* Restart your Zsh shell or execute `source ~/.zshrc` for changes to take effect## **Git Status**
> `[+]` Displayed when there are staged changes.
> `[!]` Displayed when there are unstaged changes.
> `[✗]` Displayed when there are deleted files.
> `[»]` Displayed when renamed files are staged.
> `[=]` Displayed when there are merge conflicts.
> `[?]` Displayed when there are untracked files.
> `[$]` Displayed when there are stashed changes.
> `[⇡]` Displayed when the local branch is ahead of remote.
> `[⇣]` Displayed when the local branch is behind remote.
> `[⇕]` Displayed when the local and remote branches have diverged.## **Screenshot**
![image1](https://raw.githubusercontent.com/othiagos/rigel-zsh-theme/master/images/image1.png)
![image2](https://raw.githubusercontent.com/othiagos/rigel-zsh-theme/master/images/image2.png)