All Projects → BrandonRoehl → zsh-clean

BrandonRoehl / zsh-clean

Licence: MIT License
Minimal customizable ZSH theme

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to zsh-clean

gitprompt
Display git status in the the terminal prompt
Stars: ✭ 22 (-24.14%)
Mutual labels:  zsh
config
Fig's integrations with bash, zsh, fish, ssh, and tmux. Also contains Fig's installation and update scripts. Finally, this repo is the root of the .fig folder that is installed on your computer when you download Fig!
Stars: ✭ 44 (+51.72%)
Mutual labels:  zsh
dotfiles
rice repo
Stars: ✭ 71 (+144.83%)
Mutual labels:  zsh
czmod
🚀 Native Module Written in C to Boost z.lua !!
Stars: ✭ 35 (+20.69%)
Mutual labels:  zsh
zinit
🌻 Flexible and fast ZSH plugin manager
Stars: ✭ 944 (+3155.17%)
Mutual labels:  zsh
autorice
Autorice 9001 ~ Simple and fast arch setup in minutes
Stars: ✭ 55 (+89.66%)
Mutual labels:  zsh
auto-ls
zsh plugin for auto-ls
Stars: ✭ 77 (+165.52%)
Mutual labels:  zsh
logbook
📖 a programmer's logbook.
Stars: ✭ 40 (+37.93%)
Mutual labels:  zsh
enquirer
Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.…
Stars: ✭ 6,523 (+22393.1%)
Mutual labels:  zsh
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-48.28%)
Mutual labels:  zsh
zsh-prompt-generator
Zsh Prompt Generator
Stars: ✭ 39 (+34.48%)
Mutual labels:  zsh
zsh-image-extension
Image viewing capabilities for zsh
Stars: ✭ 14 (-51.72%)
Mutual labels:  zsh
zsh-titles
Terminal/tmux titles based on current location and task
Stars: ✭ 46 (+58.62%)
Mutual labels:  zsh
dotfiles
🏡 ~/.*
Stars: ✭ 13 (-55.17%)
Mutual labels:  zsh
dotfiles
cross-platform (linux (arch), macos, android (termux), windows (WSL)) dotfiles and scripts, using yadm
Stars: ✭ 17 (-41.38%)
Mutual labels:  zsh
gitignore.plugin.zsh
ZSH plugin for creating .gitignore files.
Stars: ✭ 44 (+51.72%)
Mutual labels:  zsh
zsh-completions
Yet another zsh completion sources library. Fork, fix and written by me.
Stars: ✭ 80 (+175.86%)
Mutual labels:  zsh
go-dev
Golang Dev Env Dockerfile
Stars: ✭ 17 (-41.38%)
Mutual labels:  zsh
zsh-ssh-agent
Ssh-agent management for zsh
Stars: ✭ 19 (-34.48%)
Mutual labels:  zsh
zsh-ipip
🔩 An oh-my-zsh plugin for IPIP
Stars: ✭ 13 (-55.17%)
Mutual labels:  zsh

zsh-clean

Showcase

A pure varient however.

Clean is not pure and pure is not clean

Installation

Now integrates directly with zsh prompt

  1. Add to your this repo to your fpath
  2. Select your theme with prompt clean

antigen

antigen bundle BrandonRoehl/zsh-clean
# defaults to executing `prompt clean` or `prompt clean 256`
# based on your terminal

zsh stock

autoload -U promptinit
fpath=($prompt_themes /path/to/repo)
promptinit

prompt clean # for Xterm
prompt clean 256 # for Xterm 256

Configuration

Add styles to your .zshrc these are the defaults

## Checking vcs
# Global vcs_info
# Check if there are modifications and staged changes
zstyle ':vcs_info:*' get-revision true
# Clean only
# Check for untracked files
zstyle ':vcs_info:*' check-for-untracked true
# Check for prompt arrows up and down
zstyle ':vcs_info:*' check-head true

## Symbols
# Modified sym
zstyle ':vcs_info:*' unstagedstr '*'
# Staged sym
zstyle ':vcs_info:*' stagedstr '+'
# Untracked sym
zstyle ':vcs_info:*:clean:*' untrackedstr '.'
# Your head is behind remote
zstyle ':vcs_info:*:clean:*' headbehindstr ''
# Your head is ahead remote
zstyle ':vcs_info:*:clean:*' headaheadstr ''
# Prompt symbol
zstyle ':clean:normal:*' prompt-symbol ''
# Prompt symbol as root user
zstyle ':clean:root:*' prompt-symbol '#'

# Note that the * can be replaced with the vcs
# Example these are the symbols that will be used in a git repo
zstyle ':vcs_info:git:*' unstagedstr 'G*'
zstyle ':vcs_info:git:*' stagedstr 'G+'
zstyle ':vcs_info:git:clean:*' untrackedstr 'G.'
# only works with the vcs_info ones matching :vcs_info:svn:context:-all-

Goals

Pure's main goal is to produce a really minimalistic setup and nothing in the prompt.

While as in clean's main goal is to produce a clean code base with no dependencies as well as supporting tons of customization.

So customizing the prompt to be supper crazy and over the top complicated Or be a single line

Differences

Pure Clean
Requires Dependencies for async Async prompt replacement without
Isn't customizable Can completly replace the prompt
Custom methods for vcs Uses vcs_info hooks
Doesn't show breakdown of vcs Shows the breakdown like most other git prompts
Only works with git Works with git hg svn and all others that vcs_info supports
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].