Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honbey/mzt
My zsh theme and configuration.
https://github.com/honbey/mzt
Last synced: about 2 months ago
JSON representation
My zsh theme and configuration.
- Host: GitHub
- URL: https://github.com/honbey/mzt
- Owner: honbey
- License: other
- Created: 2021-12-25T13:02:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-13T17:10:16.000Z (almost 2 years ago)
- Last Synced: 2024-01-25T23:12:06.431Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Lists
- awesome-zsh-plugins - mzt - Sets up `LS_COLORS`, colorizes `diff` and includes `git` status and current working directory decorations. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - mzt - Sets up `LS_COLORS`, colorizes `diff` and includes `git` status and current working directory decorations. (Themes / ZSH on Windows)
- awesome-zsh-plugins - mzt - Sets up `LS_COLORS`, colorizes `diff` and includes `git` status and current working directory decorations. (Themes / ZSH on Windows)
README
* My zsh theme
Zsh theme base on ~appearance~.** Usage
If you use ~zinit~, you can add following code to your ~.zshrc~. Then execute ~source .zshrc~. After cloning done, you will see the theme take effect.
#+begin_src bash
if [[ "$USER" == "root" ]]; then
PS1="%F{gray} %F{cyan}%c "
elif [[ "$OSTYPE" == darwin* ]]; then
PS1="%F{gray} %F{cyan}%c "
elif grep -Eq "CentOS" /etc/*-release; then
PS1="%F{magenta} %F{cyan}%c "
elif grep -Eq "Debian" /etc/*-release; then
PS1="%F{magenta} %F{cyan}%c "
elif grep -Eq "Kali" /etc/*-release; then
PS1="%F{blue} %F{cyan}%c "
else
PS1="%F{green}✓ %F{cyan}%c "
fi
zinit ice wait lucid atload
zinit ice lucid wait='!0'
zinit light honbey/mzt
#+end_srcYou can change the colors as you like.
*** Screen Shot
Under macOS:
[[file:macos.png]]Under CentOS:
[[file:centos.png]]You can find icons from [[https://www.nerdfonts.com/][Nerd Fonts]].
** Thanks
*** Thanks to [[https://github.com/ohmyzsh/ohmyzsh][ohmyzsh/ohmyzsh]]
The theme duplicates many codes from [[https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/theme-and-appearance.zsh][ohmyzsh/ohmyzsh/lib/theme-and-appearance.zsh]] and [[https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/awesomepanda.zsh-theme][ohmyzsh/ohmyzsh/themes/awesomepanda.zsh-theme]]. I only modify prompt and add different logos for different OS/user. Thanks to Robby Russell and ohmyzsh's contributors.*** Thanks to [[https://github.com/zdharma-continuum][zdharma-continuum]]
Thanks to zdharma/zinit for providing the wonderful ZSH plugins manager.
*** Thanks to [[https://www.nerdfonts.com/][Nerd Fonts]]
Thanks to Nerd Fonts for providing the awesome fonts.
** LICENSE
mzt is under the MIT license.