From 408fc71b729cb499df852894195e3b3b39a6d498 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Mon, 31 Mar 2014 16:42:06 +0200 Subject: [PATCH] Changed k module code to match coding style. --- modules/k/README.md | 17 ++++++++++++----- modules/k/init.zsh | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/modules/k/README.md b/modules/k/README.md index 18b311b6..b7c330ce 100644 --- a/modules/k/README.md +++ b/modules/k/README.md @@ -2,24 +2,31 @@ Enables the integration of **k** command to Zprezto. -![k](https://raw.githubusercontent.com/supercrabtree/k/master/k-logo.png) +![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](https://github.com/supercrabtree/k/blob/master/README.md)) +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](https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-ls.jpg) +![repos-ls][3] Into this: -![repos-k](https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-k.jpg) +![repos-k][4] ## License & Contributing -Contribute to [k project on GitHub](https://github.com/supercrabtree/k). +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/init.zsh b/modules/k/init.zsh index 559c0beb..61c3f8f7 100644 --- a/modules/k/init.zsh +++ b/modules/k/init.zsh @@ -5,4 +5,4 @@ # Jozef Izso # -source "${0:h}/external/k.sh" +source "${0:h}/external/k.sh" || return 1