- git
- nerd font
- This theme uses a two-line prompt. The top line includes the shell name, username, path, git branch, and status code (Nushell also show shells info). The bottom line is for command input.
- This theme uses
to separate the path segments. Zsh, Pwsh, Xonsh, and Fish will have simplified path displays.
- Copy the
bash-theme
prompt_custom
function and thePROMPT_COMMAND=prompt_custom
line to your~/.bashrc
. - Run
source ~/.bashrc
or re-enter bash.
- Install oh-my-zsh.
- Copy the
zsh-theme
file to the~/.oh-my-zsh/themes/
directory, renaming it togxy.zsh-theme
. - Edit your
~/.zshrc
file to set the theme:ZSH_THEME="gxy"
- Run
source ~/.zshrc
or re-enter zsh.
- Copy the
fish-theme
fish_prompt
function content to~/.config/fish/functions/fish_prompt.fish
. - Reload the Fish configuration or re-enter Fish.
- Copy the
xonsh-theme
content to~/.xonshrc
. - Reload the Xonsh configuration or re-enter Xonsh.
- Copy the
pwsh-theme
content to the Pwsh configuration file, typically$PROFILE
. - Reload the Pwsh configuration or re-enter Pwsh.
- Copy the
nu-theme
content to~/.config/nushell/config.nu
. - Reload the Nushell configuration or re-enter Nushell.
Contributions and suggestions are welcome! Feel free to contact me by submitting a PR or an Issue.
This project is licensed under the MIT License. For more details, see the LICENSE file.