30 lines
927 B
Markdown
30 lines
927 B
Markdown
# TerminalPolyjuice
|
|
|
|
[](https://github.com/trekhleb/state-of-the-art-shitcode)
|
|
|
|
Automatically configure terminals according to my habits.
|
|
|
|
## For `ZSH`
|
|
Using `Oh-My-ZSH` framework to manage plugins, and `Starship` to customize prompt.
|
|
|
|
Changes:
|
|
`Oh-My-ZSH` is installed at `$HOME/.oh-my-zsh`;
|
|
`$HOME/.zshrc` is linked to `zsh/zshrc`;
|
|
`$HOME/.config/starship.toml` is linked to `starship/starship.toml`;
|
|
|
|
Required software:
|
|
`git`; `fzf`; `zoxide`; `python`; `starship`
|
|
|
|
```shell
|
|
git clone https://gitea.meip.work/gwbeip/TerminalPolyjuice.git $HOME/.TerminalPolyjuice
|
|
cd $HOME/.TerminalPolyjuice/zsh
|
|
zsh polyjuice.sh install_ohmyzsh config_starship check
|
|
```
|
|
|
|
`zsh/zshenv` contains some useful `$PATH`
|
|
|
|
`zsh/p10k.zsh` includes the configuration for execution time when using `powerlevel10k`
|
|
|
|
## For `powershell`
|
|
|