Skip to content

zirrostig/k

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

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

Rotting dates

Dates fade with age.
repos-k

Usage

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

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

hit k

k

profit

Minimum Requirements

zsh 4.3.11
Git 1.7.2

Contributers

Pull requests welcome.
supercrabtree 56
chrstphrknwtn 38
zirrostig 19
lejeunerenard 2
george-b 1
pixcrabtree 1
jozefizso 1
philpennock 1
hoelzro 1
srijanshetty 1
mattboll 1

Would really like to make this posix complient so that it can be used with bash, and others. But don't really know anything about shell scripting, so if you think you could help that would be cooool :)

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

Copyright © 2014 George Crabtree & Christopher Newton. MIT License

About

k is the new l, yo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%