individual zsh configuration

This commit is contained in:
2025-04-27 22:00:40 +08:00
parent 7b38c2669f
commit d264d3061c
11 changed files with 106 additions and 1961 deletions

View File

@@ -1,21 +1,16 @@
# ZSH Polyjuice
# TerminalPolyjuice
[![State-of-the-art Shitcode](https://img.shields.io/static/v1?label=State-of-the-art&message=Shitcode&color=7B5804)](https://github.com/trekhleb/state-of-the-art-shitcode)
Automatically configure [ZSH](https://github.com/zsh-users/zsh) based on [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) according to my habits.
Automatically configure terminal according to my habits.
## The `Polyjuice` theme
The theme `polyjuice.zsh-theme` is based the [ys](https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/ys.zsh-theme) theme. It will look like this.
```
# username @ HOST-NAME in ~/.zsh_polyjuice on git:main
17:25:06 $
```
## Usage
Install `ZSH` according the the platform you use. Clone this repository and run `polyjuice.sh`.
## For `ZSH`
Using `Oh-My-ZSH` framework to manage plugins, and `Starship` to customize prompt.
```shell
git clone https://github.com/gwbeip/zsh_polyjuice.git $HOME/.zsh_polyjuice
bash $HOME/.zsh_polyjuice/polyjuice.sh
git clone https://gitea.meip.work/gwbeip/TerminalPolyjuice.git $HOME/.TerminalPolyjuice
cd $HOME/.TerminalPolyjuice/zsh
zsh polyjuice.sh install_ohmyzsh config_starship check
```
`zsh/p10k.zsh` includes the configuration for execution time when using `powerlevel10k`