Skip to content
/ k Public

k makes directory listings more readable, adding a bit of color and some git status information on files and directories.

License

Notifications You must be signed in to change notification settings

gaelph/k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k.supercrabtree.com

This is a golang port of the excellent supercrabtree/k

Directory listings for zsh with git features

k makes directory listings more readable, adding a bit of color and some git status information on files and directories.

Git status on entire repos

Repository git status

Git status on files within a working tree

Repository work tree git status

File weight colours

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

Human readable files sizes
Human readable files sizes can be shown by using the -H flag, which requires the numfmt command to be available. OS X / Darwin does not have a numfmt command by default, so GNU coreutils needs to be installed, which provides gnumfmt that k will also use if available. GNU coreutils can be installed on OS X with homebrew:

brew install coreutils

File weight colours

Rotting dates

Dates fade with age.

Rotting dates

Installation

go install github.com/gaelph/k

Manually

Clone this repository somewhere (~/k for example)

git clone git@github.com:gaelph/k.git $HOME/k

Install it

cd $HOME/k

go install .

Usage

Hit k in your shell

k

😮

Minimum Requirements

Golang

Git 1.7.2

Contributors

gaelph
Pull requests welcome 😄

Thanks

supercrabtree for the original k

About

k makes directory listings more readable, adding a bit of color and some git status information on files and directories.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages