Skip to content

Diogo13Antunes/Get_To_Work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

To install this theme, you can simply run the following command:

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.

Update

To update this theme, you can simply run the following command:

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:

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':
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':
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:
function set_prompt() {
  # Customize PROMPT here
}

Author

This theme was created by Diogo13Antunes.

License

This project is licensed under the MIT License - see the LICENSE file for details.