Skip to content

bluedragon1221/zsh-lambda-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Prompt

My prefered zsh prompt

Prompt

Installation

Install bluedragon1221/zsh-lambda-prompt with your favorite zsh-plugin manager.

Then, add the following line to your ~/.zshrc:

prompt lambda

Configuration

Currently, there are two configuration options.

$CURSOR_BEAM determines if you want the prompt to override the cursor shape. This will also keep the cursor a beam after you open a program that changes it (like neovim). 1 to enable, or 0 to disable

$DIR_HASHES some default named directories. 1 to enable, or 0 to disable

Directory Substitution
~cfg ~/.config
~pic ~/Pictures
~doc ~/Documents
~dl ~/Downloads
~p ~/projects
~py ~/projects/python
~rs ~/projects/rust

$GIT_STATUS enable or disable git status on the right prompt. 1 to enable or 0 to disable

Git Status

$PROMPT_CHAR Change the prompt character. λ is the default, but anything is accepted.

$ENABLE_SUDO_PROMPT This prompt has the ability to override the default sudo prompt. 1 to enable or 0 to disable

Sudo Prompt

Screenshots

Deals with long paths gracefully: Long Path

Configuration Options: Customizable

About

My git prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages