1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 20:41:44 +00:00
Commit Graph

959 Commits

Author SHA1 Message Date
4270c8bf72 Fix z sourcing 2012-04-11 20:51:10 -04:00
f48a60f40e [Fix #127] Indicate overwrite mode in sorin theme 2012-04-11 17:57:17 -04:00
4bab24c0e6 [#127] Add an indicator for overwrite mode 2012-04-11 17:57:13 -04:00
5b6855e3eb Always format Git dirty 2012-04-11 16:58:25 -04:00
213b57ee6f Replace the pmine function with an alias 2012-04-11 16:51:24 -04:00
d738392709 Remove 'core' from gnu-utility documentation
It works with more than GNU Core Utilities.
2012-04-11 16:51:24 -04:00
7bf5773b3d Rename gnu-utils to gnu-utility 2012-04-11 16:43:12 -04:00
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
6512996133 [#125] Use is-callable to check for GNU utilities 2012-04-11 15:14:19 -04:00
a63b053e58 [#125] Add a helper that checks callables 2012-04-11 15:06:05 -04:00
cca942ea0b Add a missing article in a comment 2012-04-11 12:59:57 -04:00
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
e3cdbc130c Fix a typo in the main README 2012-04-11 12:53:20 -04:00
ac2ee3ec95 Improve the formatting of the autoload loop 2012-04-11 12:50:24 -04:00
416bdfcd08 [Fix #128] Ignore README files in $fpath 2012-04-11 12:44:09 -04:00
000b3653e6 [Fix #126] Do not evaluate undefined $git_info
Fix a bug introduced in aa0c1fa.
2012-04-11 12:29:45 -04:00
d3c6771c27 [#126] Autoload only desired module functions
Fix a globbing bug introduced in 6233ec6.
2012-04-11 12:14:13 -04:00
64da1ed627 Rename $editor_keymap_info to $editor_info[keymap] 2012-04-10 10:27:56 -04:00
9e6df0511e Rename $keyinfo to $key_info for consistency 2012-04-09 18:47:09 -04:00
1691d44fcc Add usage information for editor 2012-04-09 18:04:05 -04:00
1ba592f40a Add usage information for prompt 2012-04-09 17:45:33 -04:00
0ecc0a740b Add usage information for terminal 2012-04-09 17:45:33 -04:00
035fd8e7ed Add an alias to dirs 2012-04-09 17:45:33 -04:00
dc7c51434a Simplify a few for loops 2012-04-09 17:45:32 -04:00
a7db355e26 Simplify a few unsets 2012-04-09 17:45:32 -04:00
9f0336b9d8 Remove '--mixed' from the 'gir' alias
Fix a bug introduced in d4a5bed.

Though '--mixed' is the default for 'git reset', using it with paths
returns the following warning.

warning: --mixed with paths is deprecated; use 'git reset -- <paths>'
instead.
2012-04-09 17:45:32 -04:00
9d8187ba6b Merge completions into functions
Completions are nothing more than auto-loadable functions prefixed with
an underscore placed somewhere in $FPATH.
2012-04-09 17:45:32 -04:00
aa0c1faa19 [Fix #88] Allow arbitrary git-info formats
The terms 'prompt' and 'rprompt' are not always appropriate.
A multi-line theme may choose 'line-one' and 'line-two' instead.

@ColinHebert contributed to this commit.
2012-04-09 17:45:31 -04:00
342f6e94a3 Remove a no longer needed .gitignore 2012-04-09 17:41:55 -04:00
c9b8ad569d Convert add-zsh-trap into a module 2012-04-09 17:41:55 -04:00
d13b697792 Simplify Git submodule ignore settings 2012-04-09 17:41:53 -04:00
b47b845b13 Move history-stat from utility into history 2012-04-09 17:39:09 -04:00
3a22e60534 Remove compleat
Compleat (http://git.io/4foLxQ) has not been updated in two years and
should be considered abandoned.
2012-04-09 17:39:09 -04:00
68dd3109fc Move Git zstyles into the git-info header comment 2012-04-09 17:39:07 -04:00
48dcd2f723 Shorten git zstyle namespace 2012-04-08 15:07:14 -04:00
900c4d8f3f [Fix #23] Ensure dependencies are loaded 2012-04-08 15:07:14 -04:00
c6793d38b9 [#23] Remove unnecessary compdef calls 2012-04-08 15:07:14 -04:00
e2859daba4 [#23] Prevent errors when completion is disabled 2012-04-08 15:07:14 -04:00
d5a94dda74 [#23] Rename keymap indicator zstyles 2012-04-08 15:07:13 -04:00
8d98e62b34 [#23] Add if to conditions to not wrongly return 1 2012-04-08 15:07:13 -04:00
66c14486c6 [#23, Fix #80] Move themes into the prompt module 2012-04-08 15:07:13 -04:00
6233ec6aad [#23] Add a module loading function 2012-04-08 15:07:11 -04:00
86e4d2e3ff [#23] Convert environment into a module 2012-04-05 13:39:43 -04:00
56f8f83d58 [#23] Convert terminal into a module 2012-04-05 13:39:42 -04:00
1330e6e792 [#23] Convert editor into a module 2012-04-05 13:39:42 -04:00
92816f6db7 [#23] Convert completion into a module 2012-04-05 13:39:42 -04:00
4f06785949 [#23] Convert history into a module 2012-04-05 13:39:42 -04:00
b1934f037d [#23] Convert directory into a module 2012-04-05 13:39:42 -04:00
b1bb0d781d [#23] Convert spectrum into a module 2012-04-05 13:39:42 -04:00
bebbf3a99d [#23] Convert alias into a module 2012-04-05 13:39:42 -04:00