Commit Graph

1390 Commits

Author SHA1 Message Date
Sorin Ionescu
3efd4b22c1 [#67] Use outer variables for anonymous functions
The ability to pass arguments immediately to anonymous functions was added in
a newer Zsh version than the one that is shipped with Mac OS X Lion.
2012-05-07 22:19:20 -04:00
Sorin Ionescu
af983e9788 [Fix #167] Use an anononymous function for $fpath 2012-05-07 14:13:50 -04:00
Indrajit Raychaudhuri
e79fc7a1aa Add IPv6 patterns to ignore list of host completion 2012-05-07 11:56:07 -04:00
Adrià Casajús
9b9a4aa9b3 Use expand-or-complete for shell expansion
Fix current word completion as described in:
http://www.zsh.org/mla/users/2003/msg00610.html.
2012-05-05 22:08:02 -04:00
Sorin Ionescu
5edd663510 [Fix #160] Exclude all words but the current one 2012-05-05 21:59:03 -04:00
Colin Hebert
64e1e968eb [Fix #121] Add documentation for utility 2012-05-05 19:52:27 -04:00
Sorin Ionescu
e5ec94af42 Check for non-empty files, not just existance 2012-05-05 18:08:25 -04:00
Sorin Ionescu
3ed8265e28 [#145] Do not depend on the alias module 2012-05-05 18:01:56 -04:00
Sorin Ionescu
dbc9dff760 [#145] Simplify the slit utility 2012-05-05 18:01:56 -04:00
Sorin Ionescu
31c5d6e334 [#145] Complete directories for the mkdcd utility 2012-05-05 18:01:55 -04:00
Sorin Ionescu
3cbfa686ab [#145] Use builtin commands in the mkdcd utility 2012-05-05 18:01:55 -04:00
Sorin Ionescu
8bcece5895 [#145] Load the alias module in the utility module
Functions cdll, pushdll, and popdll depend on the ll alias.
2012-05-05 18:01:55 -04:00
Sorin Ionescu
aed0d586cb Unset path_file after use 2012-05-05 17:47:32 -04:00
Sorin Ionescu
76347e638a [Fix #165] Remove personal paths from environment 2012-05-05 17:45:10 -04:00
Sorin Ionescu
a438b146fe [Fix #163] Selectively set terminal title in preexec
Apple Terminal will now reset the terminal title after a command has finished
executing.
2012-05-05 16:54:38 -04:00
Sorin Ionescu
e541283126 [Fix #112] Add documentation for python 2012-05-05 16:27:53 -04:00
Sebastian Wiesner
c9561e1b87 Source virtualenvwrapper in python module 2012-05-05 12:31:53 -04:00
Paul Gideon Dann
09d1448ac7 [Fix #150] Convert wakeonlan README to Markdown 2012-05-05 12:20:15 -04:00
Indrajit Raychaudhuri
3c85575f80 Use the server timestamp in the get alias 2012-04-22 12:30:33 -04:00
Colin Hebert
10ab5e2b58 [Fix #111] Add documentation for prompt 2012-04-15 15:32:40 -04:00
Sorin Ionescu
399b2f529d Edit spelling in history comments 2012-04-15 14:21:51 -04:00
Colin Hebert
6493506e30 [Fix #106] Add documentation for history 2012-04-15 13:46:19 -04:00
Colin Hebert
79b2daf7b4 [Fix #101] Add documentation for directory 2012-04-15 13:28:25 -04:00
Sorin Ionescu
ea19b5e6a7 Add an alias to git show-branch 2012-04-15 10:38:42 -04:00
Sorin Ionescu
73f22c2a32 Revert "[Fix #64] Remove the clean git-info style"
This reverts commit a06f13f036.

Conflicts:

	modules/git/functions/git-info
	plugins/git/style.zsh
2012-04-14 21:40:01 -04:00
Colin Hebert
2859204067 [Fix #100] Add documentation for completion 2012-04-13 19:10:02 -04:00
Colin Hebert
ccccfb2c8c [Fix #139] Document a startup error in tmux module 2012-04-13 09:38:45 -04:00
Sorin Ionescu
51439bdcaa Remove the reload utility function
The reload function no longer works since loaded modules cannot be
reloaded.
2012-04-12 10:33:38 -04:00
Sorin Ionescu
69b3d07923 [Fix #134] Check for GNU du instead of Linux 2012-04-12 10:20:33 -04:00
Sorin Ionescu
906d6c8d15 [Fix #123] Add documentation for z 2012-04-11 21:01:24 -04:00
Sorin Ionescu
c109f3fc07 Refactor z initialization 2012-04-11 21:01:08 -04:00
Sorin Ionescu
4270c8bf72 Fix z sourcing 2012-04-11 20:51:10 -04:00
Sorin Ionescu
f48a60f40e [Fix #127] Indicate overwrite mode in sorin theme 2012-04-11 17:57:17 -04:00
Sorin Ionescu
4bab24c0e6 [#127] Add an indicator for overwrite mode 2012-04-11 17:57:13 -04:00
Colin Hebert
5b6855e3eb Always format Git dirty 2012-04-11 16:58:25 -04:00
Colin Hebert
213b57ee6f Replace the pmine function with an alias 2012-04-11 16:51:24 -04:00
Sorin Ionescu
d738392709 Remove 'core' from gnu-utility documentation
It works with more than GNU Core Utilities.
2012-04-11 16:51:24 -04:00
Sorin Ionescu
7bf5773b3d Rename gnu-utils to gnu-utility 2012-04-11 16:43:12 -04:00
Sorin Ionescu
878d0fbab3 [Fix #125] Wrap GNU utilities in functions
There are three methods for calling prefixed GNU utilities interactively
non-prefixed aliasing, hashing, and wrapper functions. Two of these
methods are unreliable and are discussed bellow for reference only.

The aliasing method is unreliable since aliases are at risk of being
overridden resulting in non-GNU utilities being called with invalid
switches.

The hashing method is unreliable because hashed commands are lost
whenever hash -r or rehash -f are called. Thus, said built-ins have to
be wrapped to rehash GNU utilities. Unfortunately, altering $path will
cause Zsh to call the built-in rehash instead of the wrapped one
resulting in the hashed commands being lost.

The wrapper function method is currently the most reliable and is the
one used.
2012-04-11 16:40:20 -04:00
Sorin Ionescu
6512996133 [#125] Use is-callable to check for GNU utilities 2012-04-11 15:14:19 -04:00
Sorin Ionescu
a63b053e58 [#125] Add a helper that checks callables 2012-04-11 15:06:05 -04:00
Sorin Ionescu
cca942ea0b Add a missing article in a comment 2012-04-11 12:59:57 -04:00
Colin Hebert
e81ad23346 Remove ls aliases from gnu-utils
There is no need to redefine aliases that are already defined elsewhere.
Load gnu-utils before alias instead.
2012-04-11 12:58:45 -04:00
Sorin Ionescu
e3cdbc130c Fix a typo in the main README 2012-04-11 12:53:20 -04:00
Sorin Ionescu
ac2ee3ec95 Improve the formatting of the autoload loop 2012-04-11 12:50:24 -04:00
Sorin Ionescu
416bdfcd08 [Fix #128] Ignore README files in $fpath 2012-04-11 12:44:09 -04:00
Sorin Ionescu
000b3653e6 [Fix #126] Do not evaluate undefined $git_info
Fix a bug introduced in aa0c1fa.
2012-04-11 12:29:45 -04:00
Sorin Ionescu
d3c6771c27 [#126] Autoload only desired module functions
Fix a globbing bug introduced in 6233ec6.
2012-04-11 12:14:13 -04:00
Sorin Ionescu
64da1ed627 Rename $editor_keymap_info to $editor_info[keymap] 2012-04-10 10:27:56 -04:00
Sorin Ionescu
9e6df0511e Rename $keyinfo to $key_info for consistency 2012-04-09 18:47:09 -04:00