Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Diogo13Antunes/Get_To_Work
oh-my-zsh theme
https://github.com/Diogo13Antunes/Get_To_Work
Last synced: 26 days ago
JSON representation
oh-my-zsh theme
- Host: GitHub
- URL: https://github.com/Diogo13Antunes/Get_To_Work
- Owner: Diogo13Antunes
- License: mit
- Created: 2024-05-11T15:39:00.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-05-13T19:40:26.000Z (about 1 month ago)
- Last Synced: 2024-05-13T20:48:09.865Z (about 1 month ago)
- Language: Shell
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - get-to-work - Minimalistic design, includes decorators for `git` status, virtual environment and the time. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - get-to-work - Minimalistic design, includes decorators for `git` status, virtual environment and the time. (Themes / ZSH on Windows)
README
# Get To Work
This is a custom Zsh theme designed to enhance your command-line interface experience.
## Features
- Displays a Git prompt indicating the current branch and status.
- Shows a virtual environment indicator if one is activated.
- Time-stamped right-prompt.
- Clean and minimalistic design.## Preview
![Preview](imgs/preview.png)
## Installation
To install this theme, you can simply run the following command:
```bash
curl -fsSL https://raw.githubusercontent.com/Diogo13Antunes/Get_To_Work/main/install_theme.sh | bash
```This will automatically install the theme and configure your Zsh.
## Installation
To update this theme, you can simply run the following command:
```bash
curl -fsSL https://raw.githubusercontent.com/Diogo13Antunes/Get_To_Work/main/update_theme.sh | bash
```This will automatically update the theme and configure your Zsh.
## Unistall
If you want to revert to your previous Zsh settings, you can uninstall this theme by running:
```bash
curl -fsSL https://raw.githubusercontent.com/Diogo13Antunes/Get_To_Work/main/uninstall_theme.sh | bash
```This will remove the theme and restore your original Zsh configuration.
## Theme Customization
This theme is designed with customization in mind. You can adjust it according to your preferences. Below are the key features you can modify:
- **Git Prompt Configuration** : You can change the appearance of the Git prompt by modifying the following variables in your '~/.zshrc':
```bash
ZSH_THEME_GIT_PROMPT_PREFIX="[ "
ZSH_THEME_GIT_PROMPT_SUFFIX=" ]"
ZSH_THEME_GIT_PROMPT_DIRTY=""
ZSH_THEME_GIT_PROMPT_CLEAN=""
```- **Right Prompt (RPROMPT)**: The right-prompt shows the current time. You can adjust its appearance in '~/.zshrc':
```bash
RPROMPT='%B%{$FG[011]%}[%D{%H:%M:%S}]%{$reset_color%}%b'
```- **Custom Prompt (PROMPT)**: The main prompt is customized using the 'set_prompt' function in your '~/.zshrc'. This function sets the '**PROMPT**' variable according to Git status and virtual environment:
```bash
function set_prompt() {
# Customize PROMPT here
}
```## Author
This theme was created by [Diogo13Antunes](https://github.com/Diogo13Antunes).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.