Sorin Ionescu
80909fd04a
Change Git branch and prompt color
2012-09-09 19:11:17 -04:00
Sorin Ionescu
fea343c03a
Move the vi mode indicator to the left prompt
2012-09-09 14:00:43 -04:00
Sorin Ionescu
b48e0ed74f
[ Fix #249 ] Add documentation for helper
2012-09-08 19:24:11 -04:00
Sorin Ionescu
10f333f45c
Rename autoloadable to is-autoloadable
2012-09-08 19:24:11 -04:00
Sorin Ionescu
3d5e302777
[ Fix #245 ] Merge trap into helper
2012-09-08 19:23:39 -04:00
Sorin Ionescu
e5e26eccff
[ #245 ] Convert helper into a module
2012-09-08 19:23:33 -04:00
Sorin Ionescu
737d0e51ee
Do not set Terminal.app window, tab titles to $PWD
2012-09-08 14:57:30 -04:00
Sorin Ionescu
ed4e9af9c4
[ Fix #263 ] Revert "Ensure that $terminfo values are valid"
...
The VT100 terminal application mode is an old relic that is no longer
needed.
This reverts commit a5f8d04d34
.
2012-09-07 22:35:05 -04:00
Sorin Ionescu
dd72b55f52
[ Fix #260 ] Add peepcode theme
2012-09-07 08:59:37 -04:00
Colin Hebert
0f7e454977
[ Fix #268 ] Get entire history for history-stat
...
The 'history' command is the same as 'fc -l', using a '.' as the first
parameter will get the history from the first command starting with a '.'.
Instead a '0' should be used, meaning that the history is taken from the very
first entry in the history.
2012-09-06 23:45:44 -04:00
Sorin Ionescu
209846011f
[ Fix #267 ] Fix psu on non-Mac OS X systems
2012-09-06 23:43:40 -04:00
Sorin Ionescu
74fe820ad2
Remove an unintentional newline
2012-09-06 23:36:45 -04:00
dnuux
ae1fde9e4f
Fix pacman-list-explicit function
...
The function previously worked only when there were no updates
available. Pacman also does not need superuser rights to list
installed packages.
2012-09-06 23:36:45 -04:00
Sorin Ionescu
ac04921afa
Clarify info functions descriptions
2012-09-06 23:17:38 -04:00
Sorin Ionescu
e5a9bdc4b4
[ Fix #259 ] Add ruby-info function
2012-09-06 23:06:50 -04:00
Sorin Ionescu
eceef765b7
Move theming documentation into its own section
2012-09-06 22:39:14 -04:00
Sorin Ionescu
cc7e43b242
[ Fix #253 ] Move Prezto settings into their own file
2012-09-03 16:52:47 -04:00
Sorin Ionescu
8cdf06e386
[ #255 ] Use $ZDOTDIR or $HOME
2012-09-03 16:51:32 -04:00
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
5232191cbe
Check if $TMPDIR is empty, not null
2012-09-03 14:43:50 -04:00
Sorin Ionescu
afae737b78
Document virtualenvwrapper configuration variables
2012-09-03 11:29:16 -04:00
Sorin Ionescu
f8689401de
Set the virtualenvwrapper $WORKON_HOME variable
2012-09-03 11:29:08 -04:00
Sorin Ionescu
6e664690ef
Use the lazy virtualenvwrapper
2012-09-03 10:37:56 -04:00
Sorin Ionescu
98c545a102
[ Fix #248 ] Replace virtualenv_info with python-info
...
Conflicts:
modules/python/README.md
2012-09-03 10:34:41 -04:00
Sorin Ionescu
1057801208
[ Fix #218 ] Add support for pythonz
2012-09-02 21:14:32 -04:00
Sorin Ionescu
1ea238e276
[ Fix #256 ] Rename .zcache to .zcompcache
2012-09-01 17:58:15 -04:00
Sorin Ionescu
935e6a5060
Show references in Git one line and graph formats
2012-08-31 21:08:46 -04:00
Sorin Ionescu
75bca681c1
Integrate z
...
The z alias has been replaced with j.
2012-08-31 19:02:58 -04:00
Sorin Ionescu
2f4f11bd40
Use $VISUAL and fallback on $EDITOR for the e alias
2012-08-28 23:58:09 -04:00
Sorin Ionescu
a952a60362
Fix a syntax error introduced in bf654dd
2012-08-28 23:58:09 -04:00
Sorin Ionescu
bf654dde09
Improve the readability of _git-action
2012-08-27 21:37:04 -04:00
Sorin Ionescu
8d7f785ea9
Remove the unnecessary action local variable
2012-08-27 20:40:16 -04:00
Sorin Ionescu
722353130e
Detect the sequenced Git cherry picking action
2012-08-27 20:38:23 -04:00
Sorin Ionescu
23844ca744
Comment the sourcing of module files
2012-08-27 20:32:50 -04:00
Sorin Ionescu
75b894b0cd
Load editor in history-substring-search
2012-08-27 20:29:39 -04:00
Sorin Ionescu
35e434831d
Update syntax-highlighting
2012-08-27 20:22:20 -04:00
Sorin Ionescu
3b87a4db48
Update external completions
2012-08-27 18:49:45 -04:00
Sorin Ionescu
ccf181379a
[ Fix #242 ] Remove hub
2012-08-27 18:40:29 -04:00
Sorin Ionescu
ffee859037
Correct a spelling mistake in READMEs
2012-08-27 18:39:16 -04:00
Sorin Ionescu
627d653360
Alias py to python
2012-08-27 18:33:09 -04:00
Sorin Ionescu
624736d3fc
Alias pac to pacman
2012-08-27 18:32:55 -04:00
Sorin Ionescu
8baba34fb0
Refactor tmux aliases
2012-08-27 18:32:28 -04:00
Sorin Ionescu
b2f0bdf8fd
Refactor Screen aliases
2012-08-27 18:32:26 -04:00
Sorin Ionescu
abfa69fc01
Refactor Rails aliases
2012-08-27 18:32:11 -04:00
Sorin Ionescu
3ec4fff033
Refactor Ruby aliases
2012-08-27 18:31:53 -04:00
Sorin Ionescu
e03b8b9004
Refactor Perl aliases
2012-08-27 18:31:17 -04:00
Sorin Ionescu
2183f64d31
Move prep and psub from Perl to Utility
2012-08-13 20:13:55 -04:00
Sorin Ionescu
2250f93fa3
[ Fix #233 ] Bind history-substring-search using $key_info
2012-08-07 21:32:53 -04:00
Sorin Ionescu
88af470bd6
[ Fix #232 ] Disable globbing for rsync, scp, ftp, sftp
2012-08-07 21:31:54 -04:00
Sorin Ionescu
d22d250a5c
Add missing theme screenshots
2012-08-06 16:53:03 -04:00
Sorin Ionescu
a9b6c84ea5
Update comments in themes
2012-08-06 16:52:38 -04:00
Sorin Ionescu
7bb6d588d7
Simplify and clean up the steeef theme
2012-08-06 16:45:50 -04:00
Sorin Ionescu
1c136faf73
Remove unnecessary checks in steeef
...
Many programs affect repositories, not just the command line versions.
2012-08-06 15:44:13 -04:00
Sorin Ionescu
95faf814b5
[ Fix #230 ] Check the expanded command in steeef preexec
2012-08-06 12:32:50 -04:00
Sorin Ionescu
a5f8d04d34
Ensure that $terminfo values are valid
2012-08-04 15:26:13 -04:00
Sorin Ionescu
9e288d859a
Clarify a comment about GNU utilities
2012-08-04 14:53:38 -04:00
Sorin Ionescu
28a20b48e6
Wrap editor module documentation at 80 characters
2012-08-04 14:52:17 -04:00
Sorin Ionescu
9a52ecb21b
Increase heading readability
2012-08-04 14:48:32 -04:00
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
2012-08-04 14:32:59 -04:00
Sorin Ionescu
4d86e9c591
[ Fix #212 ] Replace dircolors with whoami
2012-07-19 15:49:24 -04:00
Sorin Ionescu
060f34c7e5
[ Fix #215 ] Set Terminal title on Mac OS X 10.8
2012-07-08 17:28:44 -04:00
Sorin Ionescu
bede1a2a71
Improve cache file generation
2012-07-03 21:38:56 -04:00
Sorin Ionescu
5f6e19e26d
Remove redundant code, increase readability
2012-07-03 21:35:49 -04:00
Sorin Ionescu
d0bc126d01
Move aliases to the bottom
2012-07-03 14:07:17 -04:00
Sorin Ionescu
129a2acb07
[ Fix #102 ] Add documentation for dpkg
2012-07-03 14:06:17 -04:00
Sorin Ionescu
ec9c8fae49
Refactor dpkg aliases
2012-07-03 14:05:10 -04:00
Sorin Ionescu
9bf1789cc2
Localize variables, improve readability
2012-07-03 14:02:46 -04:00
Sorin Ionescu
325a377d5e
Remove unnecessary variables, improve readability
2012-07-03 14:02:46 -04:00
Sorin Ionescu
bf18785bca
Quote variables, improve readability
2012-07-03 14:02:46 -04:00
Sorin Ionescu
6bfb6f3104
Rename dpkg functions
2012-07-03 14:02:46 -04:00
Sorin Ionescu
c90317917b
Clarify alias documentation in pacman
2012-07-03 14:01:52 -04:00
Sorin Ionescu
b83d03118e
[ Fix #109 ] Add documentation for pacman
2012-06-30 17:34:11 -04:00
Sorin Ionescu
fc06e0b125
Refactor Pacman aliases
2012-06-30 17:29:30 -04:00
Sorin Ionescu
d54211832a
Improve AWK code readability, remove highlighting
2012-06-30 15:54:51 -04:00
Sorin Ionescu
e3b6b5ab30
Rename Pacman functions
2012-06-24 18:01:38 -04:00
Sorin Ionescu
2b186900cb
Improve Git submodule updating aliases
2012-06-23 14:03:25 -04:00
Sebastian Wiesner
e703642e4b
Update gnu-utility module loading order
2012-06-23 13:20:32 -04:00
Sorin Ionescu
34ca75cdf2
[ Fix #210 ] Rename alias lp to lm
2012-06-23 13:09:55 -04:00
Sorin Ionescu
0f9a6878f8
[ Fix #209 ] Switch the casing of y/n
2012-06-21 22:35:15 -04:00
Julien Stechele
a2fcb36e5f
Update completion module loading order
2012-06-17 13:34:21 -04:00
Sorin Ionescu
0a86caffc3
Remove 'arrow keys' from history-substring-search description
2012-06-17 13:32:29 -04:00
Sorin Ionescu
00348eca51
Fix a title in the history-substring-search README
2012-06-14 19:33:46 -04:00
Sorin Ionescu
780ab4a496
[ Fix #113 ] Add documentation for rails
2012-06-14 19:16:17 -04:00
Sorin Ionescu
6c1cec6f9b
Rewrite some of the rails aliases
2012-06-14 19:15:22 -04:00
Sorin Ionescu
027edbaae5
Correct title casing in screen and tmux READMEs
2012-06-14 18:01:01 -04:00
Sorin Ionescu
71b98ad515
[ Fix #119 ] Add documentation for terminal
2012-06-14 18:00:06 -04:00
Sorin Ionescu
117c2323bc
[ Fix #118 ] Add documentation for syntax-highlighting
2012-06-14 17:48:24 -04:00
Sorin Ionescu
13c1c1996d
Add a zstyle to set the syntax highlighter
2012-06-14 17:20:57 -04:00
Sorin Ionescu
e095911cda
Correct the history-substring-search README
2012-06-14 17:17:36 -04:00
Sorin Ionescu
f2f6d20bde
[ Fix #105 ] Add documentation for gpg-agent
2012-06-14 12:51:03 -04:00
Sorin Ionescu
abfd6b0a25
[ Fix #114 ] Add documentation for rsync
2012-06-13 21:54:36 -04:00
Sorin Ionescu
c1bb7e5b27
Rename variable rsync_cmd to _rsync_cmd
2012-06-13 21:44:27 -04:00
Sorin Ionescu
425aec21ee
[ Fix #122 ] Add documentation for yum
2012-06-13 21:41:04 -04:00
Sorin Ionescu
719bc1c67f
Rewrite yum aliases
2012-06-13 21:40:28 -04:00
Sorin Ionescu
54e8b37c77
[ Fix #196 ] Remove compdef calls
2012-06-13 18:04:33 -04:00
Sorin Ionescu
e4be6d633f
[ Fix #195 ] Fallback to the default command
2012-06-13 14:50:05 -04:00
Sorin Ionescu
7dc55a8304
[ #195 ] Add missing make, diff, wdiff calls
2012-06-13 14:09:57 -04:00
Sorin Ionescu
86d0086b56
[ Fix #115 ] Add documentation for ruby
2012-06-12 23:23:22 -04:00
Sorin Ionescu
c4c6d47e0a
Remove the word Lion from the Perl README
2012-06-12 23:23:22 -04:00
Sorin Ionescu
ee80a0ac33
[ Fix #110 ] Add documentation for perl
2012-06-12 20:57:27 -04:00
Sorin Ionescu
48b83fae7b
Add additional Perlbrew aliases
2012-06-12 19:20:03 -04:00
Sorin Ionescu
af70f189f2
Reorganize perl aliases
2012-06-12 19:18:29 -04:00
Sorin Ionescu
8eae776f0e
[ Fix #108 ] Add documentation for node
2012-06-12 16:44:48 -04:00
Ben O'Hara
ba7fcceac5
[ Fix #117 ] Add documentation for ssh-agent
2012-06-12 16:39:57 -04:00
Sorin Ionescu
74867a4b57
[ Fix #107 ] Add documentation for macports
2012-06-12 16:39:53 -04:00
Sorin Ionescu
ae9d1d44e5
Rewrite macports aliases
2012-06-12 16:17:45 -04:00
Sorin Ionescu
1500717004
[ Fix #120 ] Add documentation for trap
2012-06-12 15:35:47 -04:00
Sorin Ionescu
b02f9d7dbe
Correct functions list indentation in osx README
2012-06-12 15:15:52 -04:00
Sorin Ionescu
859ab4e8e0
Correct spelling mistakes in READMEs
2012-06-12 15:13:21 -04:00
Sorin Ionescu
e35d6b984a
Do not remove superfluous blanks from events
...
Recording superflous blanks is useful when indenting multiline commands.
2012-06-10 20:06:53 -04:00
Sorin Ionescu
8e91f01d55
Move settings right bellow module description
2012-06-10 20:05:34 -04:00
Sorin Ionescu
cbdf8122a6
[ Fix #149 ] Restructure utility
2012-06-10 20:04:56 -04:00
Sorin Ionescu
218081becd
[ #149 ] Rename duh to dut
2012-06-10 20:04:56 -04:00
Sorin Ionescu
6740d88fb2
[ #149 , Fix #98 ] Add documentation for alias
2012-06-10 20:04:55 -04:00
Sorin Ionescu
93e76b9e8d
[ #149 ] Move compdef calls into their own files
2012-06-10 20:04:55 -04:00
Sorin Ionescu
fdb3f4152f
[ #149 ] Remove unnecessary if statements
2012-06-10 20:04:55 -04:00
Sorin Ionescu
761ba12813
[ #149 ] Simplify diff, wdiff, make
2012-06-10 20:04:55 -04:00
Sorin Ionescu
45ab153c64
[ #149 ] Move diff, wdiff, make into their own files
2012-06-10 20:04:55 -04:00
Sorin Ionescu
aa36596287
[ #149 ] Merge alias into utility
2012-06-10 20:04:55 -04:00
Sorin Ionescu
c352b86aeb
Add MacPorts paths to path variables
2012-06-02 17:20:00 -04:00
Sorin Ionescu
9c8c2003cd
Check operating system in macports
2012-06-02 17:20:00 -04:00
Sorin Ionescu
160e1a3926
Check operating system in osx
2012-06-02 17:17:41 -04:00
Sorin Ionescu
b2b90c22f8
Improve diction in documentation
2012-06-02 17:17:12 -04:00
Sorin Ionescu
c28c5edd21
[ Fix #99 ] Add documentation for archive
2012-05-31 23:18:37 -04:00
Sorin Ionescu
9f0501b140
Move the completion module loading information
2012-05-31 22:18:18 -04:00
Sorin Ionescu
4fd347580e
[ Fix #104 ] Add documentation for environment
2012-05-31 21:27:48 -04:00
Sorin Ionescu
7a4433e92c
[ #171 ] Move environment variables into zshenv
2012-05-31 17:35:07 -04:00
Sorin Ionescu
7731be2f5e
Fix diction in a comment
2012-05-31 17:35:07 -04:00
Jano González
9224c653f9
Fix typo that prevents using make
2012-05-23 20:08:20 -04:00
Sorin Ionescu
075f516763
Clean up READMEs
2012-05-21 20:34:07 -04:00
Sorin Ionescu
a4cf629c2f
Refactor the listing of lost Git commits
2012-05-21 17:25:36 -04:00
Sorin Ionescu
f932fa792e
Add the ability to recover dropped Git stashes
2012-05-21 17:22:49 -04:00
Sorin Ionescu
7e60f13d7d
Add spacing to increase readability
2012-05-21 16:24:39 -04:00
Sorin Ionescu
00394b6069
Rename git-current-branch to git-branch-current
2012-05-21 16:12:03 -04:00
Sorin Ionescu
d3cad0721b
Remove 'prompt' from the Git position zstyle
2012-05-21 15:58:05 -04:00
Sorin Ionescu
be2c8decdb
Use $HOME instead of ~
2012-05-20 20:15:34 -04:00
Sorin Ionescu
c0f2007646
[ Fix #135 ] Set completion default list-colors
2012-05-20 20:15:34 -04:00
Sorin Ionescu
f4909ca507
[ #135 ] Inform of the completion loading order
2012-05-20 20:15:34 -04:00
Sorin Ionescu
b6ba93fb15
[ #135 ] Inform of the gnu-utility loading order
2012-05-20 20:15:34 -04:00
Sorin Ionescu
8394cc7e25
Separate colormake from colordiff
2012-05-20 20:15:33 -04:00
Sorin Ionescu
8a784c7ec7
Rename the alias module zstyle
2012-05-20 20:15:31 -04:00
Sorin Ionescu
c24273e4d2
Rename the completion module zstyle
2012-05-20 20:15:12 -04:00
Sorin Ionescu
24559be19d
Add quotes around file names
2012-05-20 20:13:23 -04:00
Sorin Ionescu
0165379143
Clarify comments in ruby module
2012-05-20 20:13:21 -04:00
Sorin Ionescu
18ea11c096
[ Fix #180 ] Print all file name columns
2012-05-19 12:05:42 -04:00
Sebastian Wiesner
235cef787e
Add haskell module
...
This module provides support for per user haskell packages by prepending
the per user directories to PATH/MANPATH.
2012-05-19 11:53:36 -04:00
Sebastian Wiesner
84a6c19c2b
Remove a wrong builtin call in mkdcd
...
mkdir is not a builtin command.
2012-05-14 21:13:19 -04:00
Sorin Ionescu
aa925d22b4
[ Fix #170 ] Remove Git stash count leading spaces
2012-05-08 22:38:40 -04:00
Sorin Ionescu
0cd33ca694
[ Fix #169 ] Ask for confirmation when executing gsc
2012-05-08 22:37:24 -04:00
Sorin Ionescu
3c084f57bb
[ #169 ] Move _git-dir out of git-info into git-dir
2012-05-08 22:37:24 -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
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
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
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
Sorin Ionescu
1691d44fcc
Add usage information for editor
2012-04-09 18:04:05 -04:00
Sorin Ionescu
1ba592f40a
Add usage information for prompt
2012-04-09 17:45:33 -04:00
Sorin Ionescu
0ecc0a740b
Add usage information for terminal
2012-04-09 17:45:33 -04:00
Sorin Ionescu
035fd8e7ed
Add an alias to dirs
2012-04-09 17:45:33 -04:00
Sorin Ionescu
dc7c51434a
Simplify a few for loops
2012-04-09 17:45:32 -04:00
Sorin Ionescu
a7db355e26
Simplify a few unsets
2012-04-09 17:45:32 -04:00
Sorin Ionescu
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
Sorin Ionescu
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