Skip to content

bewie/k

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 

Repository files navigation

k

k is the new l, yo

Directory listings for zsh with git features.

k is a zsh script to make directory listings more readable, adding a bit of color and some git information.

Git status on entire repos

Red for dirty, green for committed.

Turns this:
repos-ls

Into this:
repos-k

Git status on files within a working tree

Red for dirty, green for committed, orange for untracked, grey for ingored.

Turns this:
status-ls

Into this:
status-k

File weight colours

Files sizes are graded from green for small (< 1k), to red for huge (> 1mb).

Turns this:
status-ls

Into this:
status-k

Usage

Put k.sh somewhere, and source it in your .zshrc.

source ~/path-to/k/k.sh

hit k

k

profit

Thanks

Paul Falstad for zsh
Robby Russell for making the shell fun with oh my zsh
Sindre Sorhus for fast git commands from zsh pure theme
Rupa for that slammin' strapline

Contributing

Pull requests welcome.

Copyright © 2014 George Crabtree & Christopher Newton. MIT License

About

k is the new l, yo

Resources

Stars

Watchers

Forks

Packages

No packages published