Skip to content

Commit

Permalink
Update the document and copyright years.
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Jan 23, 2012
1 parent eb0ed91 commit 900d807
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2011 Akinori MUSHA
Copyright (c) 2011, 2012 Akinori MUSHA

All rights reserved.

Expand Down
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,26 @@ command, only if invoked right after the magic happens.
% ../.. [Hit <^H>]
% ../.

Triple-dot is not a rarely used character sequence, and this tweak
kind of "knows" when it should be expanded.

% ruby -e '(1.. [Hit <.>]
% ruby -e '(1...

% git log branch.. [Hit <.>]
% git log branch...

% git diff .. [Hit <.>]
% git diff ../.. [Hit <b>] <- This may be a path...
% git diff ...b [Hit <ranch>] <- Or not.
% git diff ...branch

How to set up
-------------

Put the file `manydots-magic` somewhere in your `$fpath` and add these
lines to your `.zshrc`:
Put the file `manydots-magic` somewhere in your `$fpath` (typically in
`$ZDOTDIR` which is set to something like `~/.zsh` or `~/.zsh.d`) and
add these lines to your `.zshrc`:

autoload -Uz manydots-magic
manydots-magic
Expand All @@ -42,7 +57,7 @@ If you are enabling `url-quote-magic`, make sure to load
License
-------

Copyright (c) 2011 Akinori MUSHA
Copyright (c) 2011, 2012 Akinori MUSHA

Licensed under the 2-clause BSD license.
See `LICENSE` for details.
2 changes: 1 addition & 1 deletion manydots-magic
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# manydots-magic - zle tweak for emulating "..."=="../.." etc.
#
# Copyright (c) 2011 Akinori MUSHA
# Copyright (c) 2011, 2012 Akinori MUSHA
# Licensed under the 2-clause BSD license.
#
# This tweek helps input ancestor directories beyond the parent (`..')
Expand Down

0 comments on commit 900d807

Please sign in to comment.