simnalamburt / shellder

:shell: Featured zsh/fish shell theme
Other
292 stars 52 forks source link
fish shell-theme zsh

UNMAINTAINED: I don't use MSYS2 anymore so I don't maintain this project anymore. If you want to use shellder, consider the alternatives below:

  1. powerlevel10k
    • Lowest latency. Utilizes async tasks and gitstatusd.
    • Only for ZSH
    • Not suits with MSYS2 or Cygwin since it's a big shell scripts. (But who uses MSYS2/Cygwin while we have WSL2?)
  2. starship
    • Higher latency than powerlevel10k, but still it's faster than most shell themes.
    • Compatible with many shell environments (i.e. Powershell, bash, tcsh, fish, ...)
    • No slowdown in MSYS2 or Cygwin since it's a Rust binary not a shell script.

 


 

<img align=left width=175px height=175px src="https://raw.githubusercontent.com/simnalamburt/i/master/shellder/shellder.png">

shellder

  1. No solarized ― xterm256 colors are beautiful enough
  2. zsh + fish support
  3. Speed ― Carefully optimized for slow environments like MSYS2

 

screenshot image of shellder

Installation

You can install shellder via various plugin managers.

Zsh, zinit

# ~/.zshrc
zinit light simnalamburt/shellder

Fish, chips

# ~/.config/chips/plugin.yaml
github:
- simnalamburt/shellder

Fish, oh-my-fish

# ~/.config/chips/plugin.yaml
github:
- simnalamburt/shellder

 

Configuration

You can turn off Fish-like path shrinking by adding the following to your ~/.zshrc:

# ~/.zshrc
export SHELLDER_KEEP_PATH=1

To control path shrinking in fish shell, set fish_prompt_pwd_dir_length or fish_prompt_pwd_full_dirs environment variable. See prompt_pwd for the further details.

 

Fonts

You'll need a powerline patched font. If you don't have one, download one or patch some fonts on you own.

 


shellder is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0). See COPYRIGHT for details.