A stripped down version of Grml's zsh config.
- Faster startup. wbase.zsh avoids the many Zsh version checks of Grml's config (requires Zsh 5.4 or newer)
- Better integration with plugin managers like zplug
- No prompt, because there are better alternatives. You can set your own prompt for example with git-prompt.zsh or powerlevel10k
zplug "woefe/wbase.zsh"
Clone this repo or download the wbase.zsh file.
Then source it in your .zshrc
. For example:
mkdir -p ~/.zsh
git clone --depth=1 https://github.com/woefe/wbase.zsh ~/.zsh/wbase.zsh
echo "source ~/.zsh/wbase.zsh/wbase.zsh" >> .zshrc
less
colorsls
colors (requiresalias ls=ls --color=auto
)- text width of
man
limited to 120 characters - Menu completion with sections
- Large history (100000 items)
- Autopushd and persistent dirstack
- Easier dirstack handling. (Type
cd -<TAB>
orcd +<TAB>
to go to recently visited directories) - Terminal title for xterm based terminals
- Useful keybindings:
Alt+q
: push-line; save current command line, and re-display in next prompt.Alt+h
: run-help; show man page of current commandAlt+1
toAlt+5
: get first to fifth parameter of previous command
- Useful functions:
mkcd
: make directory and cd into itcdt
: make a temporary directory and cd into itcl
: change directory and list filesmkqrcode
: create QR-Code from stdin or arguments (depends on qrencode)