Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module for k command #583

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
25 changes: 25 additions & 0 deletions modules/k/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# k

Enables the integration of **k** command to Zprezto.

![k](https://raw.githubusercontent.com/supercrabtree/k/master/k-logo.png)

> 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))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put links at the end of the file. See other READMEs.


Turns this:
![repos-ls](https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-ls.jpg)

Into this:
![repos-k](https://raw.githubusercontent.com/supercrabtree/k/gh-pages/repos-k.jpg)

## License & Contributing

Contribute to [k project on GitHub](https://github.com/supercrabtree/k).

k license: Copyright © 2014 George Crabtree & Christopher Newton. MIT License

Zprezto module license: Copyright © 2014 Jozef Izso. MIT License
1 change: 1 addition & 0 deletions modules/k/external
Submodule external added at b6d208
8 changes: 8 additions & 0 deletions modules/k/init.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Integrates k command to Zprezto.
#
# Authors:
# Jozef Izso <[email protected]>
#

source "${0:h}/external/k.sh"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add || return 1 at the end of the line.