Mike Gerwitz
c3b5d2c0d9
Copyright notice update 2015
2015-04-28 15:46:34 -04:00
Mike Gerwitz
b680a66c64
bash_completion _completion_loader call reordering
...
Was failing on certain systems.
2015-01-09 00:33:07 -05:00
Mike Gerwitz
901b8d36f9
bash_completion now works with lazily-loaded completions
2015-01-09 00:10:28 -05:00
Mike Gerwitz
7289ae3a63
git rev-parse replacing __gitdir call
2014-11-23 22:47:47 -05:00
Mike Gerwitz
c2d3c6eb87
shortmap vars now globally declared
...
There are two things that are required for this to work properly:
- The `-g` flag to `declare`, ensuring that the shortmap data will be
accessible even if this script is sourced from within a function; and
- Omitting the assignment in the declaration; Bash seems to have a bug
whereby associative arrays initialized in that manner will not be
global.
2014-08-27 19:17:16 -04:00
Mike Gerwitz
de40ba3168
Added missing copyright information
2014-08-21 23:34:10 -04:00
Mike Gerwitz
00e430f59c
Added --help to alias command to output shortmaps
...
A co-worker suggested that the command mentioned in the alias provide some
sort of documentation, since that is the only reference the user has for
tracking it down.
2014-08-21 23:24:33 -04:00
Mike Gerwitz
df72cd4e71
Eliminated sed call from shortmap loading
...
All substitutions are all native shell.
2014-08-21 22:31:18 -04:00
Mike Gerwitz
c511222374
Shortmaps no longer read from disk upon execution
2014-08-21 22:27:58 -04:00
Mike Gerwitz
693437077f
Simplified shortmap loading
2014-08-21 21:58:51 -04:00
Mike Gerwitz
8f1ebd024c
bash_completion script formatting and cleanup
2014-08-21 21:54:24 -04:00
Mike Gerwitz
30d36c334e
Removed unneeded _git_config override
...
Relic from extraction from git-supp repository.
2014-08-21 21:37:42 -04:00
Mike Gerwitz
19a7272dca
Major shortmap sourcing performance improvement
...
When generating the shortmap aliases, there were repeated and unnecessary
invocations of grep; the performance improvement gained by using shell
built-ins is substantial.
2013-12-08 13:46:10 -05:00
Mike Gerwitz
cda202fd1d
Simple grep change in elif in __git-supp_shortalias()
2013-12-08 13:45:37 -05:00
Mike Gerwitz
bc07473f12
Corrected __git-supp_shortmap() for newer git releases
2013-12-08 13:45:27 -05:00
Mike Gerwitz
aebf20334f
- and -- functions on their own line
2013-12-08 13:43:40 -05:00
Mike Gerwitz
e78dff0a31
Restoring IFS (bug fix)
2013-12-08 13:43:10 -05:00
Mike Gerwitz
32b461c1d5
Added - and -- support to shortmaps
2013-12-08 13:42:17 -05:00
Mike Gerwitz
8dd10a69bb
shortmapped commands will now only be executed while within a git repository
2013-12-08 13:42:08 -05:00
Mike Gerwitz
2b2452dda9
Default source argument for bash_completion is now full path name
2013-12-08 13:41:59 -05:00
Mike Gerwitz
fadd65b69b
Initial commit of shortmaps, bash_completion, COPYING, and README.md
2013-12-08 13:41:11 -05:00