Awesome
Inspired by kali-zsh-terminal :heart:
<samp><b>Oh-My-ZSH theme for PacmanDoh's Mac Terminal</b></samp>
Preview 👀
multiline:
oneline:
Install 🔧
You have the option to use the install.sh script, which installs Oh-My-Zsh, the pacmandoh-theme, and three commonly used plugins (zsh-autosuggestions
, zsh-syntax-highlighting
, conda-zsh-completion
). The script includes various solutions, such as accelerated downloads for users in China and automatic injection of configurations into the .zshrc
file.
Alternatively, you can manually copy the theme files to ~/.oh-my-zsh/custom/themes/
. The choice is yours based on your preferences.
Feature 🚀
- Adapt to Linux or macOS
- Git info
- Color changes based on permissions
- Python environment (conda, virtualenv)
- Displaying the environment identified based on files in the working directory (Node - "package.json")
- One-stop installation script
- Selectable style
- multiline or oneline
- timer
- new line before prompt
Note: In Linux, the determination is based on whether the user is the root. On macOS, the logic is determined by whether the user is the owner of the folder.
Configuration ⚙️
You can easily customize your setup using the installation script or by modifying the ~/.zsh file. Below are the available configuration options:
- Prompt Style:
PACMANDOH_PROMPT_ALTERNATIVE
: Choose betweenmultiline
oroneline
style.- default:
multiline
- default:
- Timer Requirement:
PACMANDOH_NEED_TIMER
: Set toyes
if a timer is required.- default:
yes
- default:
- Newline Before Prompt:
PACMANDOH_NEWLINE_BEFORE_PROMPT
: Set toyes
if a newline is desired before the prompt.- default:
yes
- default:
Note: When in oneline
mode, the default values for the other options are set to no
Supplement 📃
This omz-theme is listed in awesome-zsh-plugins
:heart:, where you can find more comprehensive information for your reference