diff --git a/.gitmodules b/.gitmodules index 7a7a7b5ecb..b66bf24a79 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "modules/completion/external"] path = modules/completion/external url = https://github.com/zsh-users/zsh-completions.git +[submodule "modules/k/external"] + path = modules/k/external + url = https://github.com/supercrabtree/k.git diff --git a/modules/k/README.md b/modules/k/README.md new file mode 100644 index 0000000000..b7c330ce6c --- /dev/null +++ b/modules/k/README.md @@ -0,0 +1,32 @@ +# k + +Enables the integration of **k** command to Zprezto. + +![k][1] + +> 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. ([Read more][2]) + +Turns this: +![repos-ls][3] + +Into this: +![repos-k][4] + +## License & Contributing + +Contribute to [k project on GitHub][5]. + +k license: Copyright © 2014 George Crabtree & Christopher Newton. MIT License + +Zprezto module license: Copyright © 2014 Jozef Izso. MIT License + + +[1]: https://raw.githubusercontent.com/supercrabtree/k/master/k-logo.png "k logo" +[2]: https://github.com/supercrabtree/k/blob/master/README.md +[3]: https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-ls.jpg "ls sample" +[4]: https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-k.jpg "k sample" +[5]: https://github.com/supercrabtree/k \ No newline at end of file diff --git a/modules/k/external b/modules/k/external new file mode 160000 index 0000000000..b6d2084771 --- /dev/null +++ b/modules/k/external @@ -0,0 +1 @@ +Subproject commit b6d20847711651f7e474d1dcbddf050b625f0349 diff --git a/modules/k/init.zsh b/modules/k/init.zsh new file mode 100644 index 0000000000..61c3f8f7c5 --- /dev/null +++ b/modules/k/init.zsh @@ -0,0 +1,8 @@ +# +# Integrates k command to Zprezto. +# +# Authors: +# Jozef Izso +# + +source "${0:h}/external/k.sh" || return 1