zsh config 🐚 ⚙️
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app_configs
docs
files
modules
utils
.gitignore
README.md
install.zsh
zshrc.zsh

README.md

zsh-config 🐚 ⚙️

Features

  • Syntax Highlighting
  • Colored Prommpt inlc. Git Branch Name and Exit Code
  • Completions
    • for Commands and Parameters; hit Tab
    • for Commands and Parameters from history search with fzf; hit Ctrl + Space
  • Search History
    • by Substrings; hit Arrow Up
    • Improved Version of Ctrl + R search with fzf
  • Jump to visited Directories with zjump; command j <PART_OF_DIR_PATH>...
  • Handy Aliases, see modules/alias.zsh
  • Handy optional Utils, see Utils Directory; load by zgem bundle <UTIL_NAME>
  • and a lot more..., see Configuration Modules

Installation

Main Configuration

zshrc.zsh

Configuration Modules

Plugins

Prompt

  • Multiline Prompt
  • Root user highlight
  • GIT status of current directory
    • * dirty flag
    • / before/behind
  • Return code after command, if it's not 0

prompt_default

prompt_root

prompt_error

Terminal Colors Schemes

Misc Zsh Know-How

Shortcuts

  • CTRL + A Move to the beginning of the line

  • CTRL + E Move to the end of the line

  • CTRL + [left arrow] Move one word backward (on some systems this is ALT + B)

  • CTRL + [right arrow] Move one word forward (on some systems this is ALT + F)

  • CTRL + X -> CTRL + E Edit command line within $EDITOR

  • CTRL + _ Undo last input

  • CTRL + K Clear the characters on the line after the current cursor position

  • CTRL + U Clear the entire line

  • ESC + [backspace] or CTRL + W Delete the word in front of the cursor

  • ESC + D Delete the word after the cursor

  • CTRL + W delete last word

  • ESC + Q Push current line on a stack until next command line

  • CTRL + C Terminate/kill current foreground process

  • CTRL + Z Suspend/stop current foreground process

  • fg Run process again in foreground

  • bg Run process again in background

  • CTRL + S Stop output to screen

  • CTRL + Q Re-enable screen output

  • ESC + H Open man page for current command

  • CTRL + R Search history

  • CTRL + G Escape from search mode

  • CTRL + L Clear screen

Commands

  • vared <VARIABLE> On-the-fly editing of <VARIABLE>
  • !!             Execute last command in history
  • !<PEFIX> Execute last command in history beginning with <PEFIX>
  • !<PEFIX>:p Print last command in history beginning with <PEFIX>

Sources