Skip to content

SeanPedersen/zeal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

ZEAL: smart & fast ZSH config

ZEAL Features

  • Contextual auto-suggestion based on command history of CWD + global history (prio: 1. prefix, 2. substring)
    • smart rejection of commands using relative paths into global history
  • Custom CTRL + R: show command history of CWD + dual search (contextual + global history)
  • Agnoster inspired theme (showing current git branch + status + commits)
    • runs git fetch (async) on first cd into a git repo (to show new commits from remote)
  • Shortens long paths (to first char)
  • Print execution timestamp + runtime in secs of last command
zeal-demo.mp4

Install ZEAL

  • Install ZSH
    • Debian: sudo apt install zsh Arch: pacman -S zsh
    • MacOS: brew install zsh
    • Make default shell: chsh -s $(which zsh)
  • Install ZEAL
    • Download zeal.zsh or clone this repo
    • Source it from .zshrc (recommended): source zeal.zsh
      • or replace .zshrc: cp zeal.zsh ~/.zshrc

Shortcuts

  • TAB to autocomplete existing paths in CWD
  • ARROW RIGHT to autocomplete with current grey auto-suggestion (based on CWD + shell history)

Structure

  • Contextual (cwd + command) history is stored in ~/.zsh_history_contextual

References

About

ZEAL: smart & fast ZSH config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages