Skip to content

mritzmann/zsh-diskusage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Diskusage

Shows your diskusage in your zsh prompt.

# markus @ kari in ~ disk:27% [23:36:00] 
# markus @ kari in /tmp disk:46% [23:36:10] 

Installation

  1. git clone https://github.com/mritzmann/zsh-diskusage.git ~/.oh-my-zsh/plugins/diskusage
  2. Add diskusage to your plugin array in your zshrc file: plugins=( diskusage )
  3. Add $(DISKUSAGE) to your PROMPT=

There is also a Pull Request: ohmyzsh/ohmyzsh#7334

Dependencies

Df, sed, awk and tr. Testet on Debian Jessie and Stretch.

FAQ

Q: Prompt only updates when zsh is first started
A: olivierverdier/zsh-git-prompt#55 (comment)

Q: Which theme was used in the example?
A: https://gist.github.com/mritzmann/85946d9ea5ca8bc2d07a7ab02947bead

About

Shows your diskusage in your zsh prompt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages