1
0
Fork 0
Commit Graph

57 Commits (master)

Author SHA1 Message Date
Mike Gerwitz 6cc896d06a
README.md: Reformat file format lines
The markdown renderer used by cgit fails miserably.
I will need to use another one.
2018-04-24 23:34:35 -04:00
Mike Gerwitz 2cf4c2e8a3
bv to use -v{=>v}
* shortmaps (bv): Use -vv instead of -v.
2016-11-23 23:18:56 -05:00
Mike Gerwitz 6cbf2bbbde
Add pf
Now that --force-with-lease is a thing, we can have a shortmap that does
something sane rather than blowing changes away.

* shortmaps (pf): Add shortmap.
2016-11-23 23:18:50 -05:00
Mike Gerwitz d96cb861ae
pd- added to delete most recent branch from remote 2015-05-20 09:46:06 -04:00
Mike Gerwitz 8e377e9a39
bd- now accepts command-line arguments 2015-05-20 09:44:03 -04:00
Mike Gerwitz 76d5d8b6b5
r@{,:*} shormaps 2015-05-14 23:43:28 -04:00
Mike Gerwitz 6748d2a31d
bd{,-} added 2015-05-11 15:06:18 -04:00
Mike Gerwitz c3b5d2c0d9
Copyright notice update 2015 2015-04-28 15:46:34 -04:00
Mike Gerwitz 5f00fde289
All submodule shortmaps now use --recursive 2015-04-28 15:40:28 -04:00
Mike Gerwitz 8d6e804c05
Mi shortmap typo correction 2015-03-26 15:41:48 -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 fb3577e7cb
Shortmaps: AS, mm, M, Mi, Mu, MP, pu, r, and rh
Latest batch of accumulating personal maps.
2014-11-20 21:52:35 -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 0b94d4da50
Added `?` shortmap 2014-08-21 23:43:48 -04:00
Mike Gerwitz 677eb8c42e
README.md updates and formatting 2014-08-21 23:41:36 -04:00
Mike Gerwitz 7943668aac
Added license to README.md 2014-08-21 23:36:37 -04:00
Mike Gerwitz d73811b536
Shortmap additions and improvements 2014-08-21 23:34:48 -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 de83e7f819 Numerous L* log maps
Removed useless `lh`. Capital `L` is used since `l` is a common Debian alias
for `ls`.
2014-08-21 22:52:09 -04:00
Mike Gerwitz b7ccd9be84 `b` and `bv` shortmaps added 2014-08-21 22:43:26 -04:00
Mike Gerwitz 007d61e804 New S* shortmaps 2014-08-21 22:42:23 -04:00
Mike Gerwitz abec3e5b24
R (rebase) shortmap autocomp fix
Was renamed a number of git versions back; forgot to commit fix!
2014-08-21 22:35:23 -04:00
Mike Gerwitz 7e24f88d1e
Cleanup and performance improvements 2014-08-21 22:34:38 -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 22f82993bd
`Pr` and `Prp` shortmaps will now preserves merges 2014-06-18 10:39:12 -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 b81da54355
Added `ma' shortmap 2013-12-08 13:46:02 -05:00
Mike Gerwitz fb0382ee10
Added lh and Prp shortmaps 2013-12-08 13:45:53 -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 8633cbaf62
Added ds shortmap 2013-12-08 13:45:17 -05:00
Mike Gerwitz 3e03ad1102
Using --show-toplevel for `--` shortmap 2013-12-08 13:45:10 -05:00
Mike Gerwitz 0f80f06349
Added ca and CS shortmaps 2013-12-08 13:44:53 -05:00
Mike Gerwitz 97f8b0b8a0
Minor README.md changes to shortmaps section 2013-12-08 13:44:45 -05:00
Mike Gerwitz 2bff12d025
s shortmap => git status --short 2013-12-08 13:44:37 -05:00
Mike Gerwitz c2540b5361
Added Pr shortmap 2013-12-08 13:44:29 -05:00
Mike Gerwitz a17a31d2db
Using capital 'B' for git bisect shortmap to avoid conflict with 'bg' 2013-12-08 13:44:22 -05:00
Mike Gerwitz 4fd2c1c62f
Using upper-case for git rebase shortmap 2013-12-08 13:44:08 -05:00
Mike Gerwitz 2bd1bb990a
Added git bisect shortmaps 2013-12-08 13:43:59 -05:00
Mike Gerwitz 3fc71b9623
Added r{,i,a,c} 2013-12-08 13:43:48 -05:00
Mike Gerwitz aebf20334f
- and -- functions on their own line 2013-12-08 13:43:40 -05:00
Mike Gerwitz 283bce39b2
git-status has no auto-complete 2013-12-08 13:43:32 -05:00
Mike Gerwitz f5973128ee
Using BASH noop (:) instead of void for no auto-completion in shortmaps 2013-12-08 13:43:22 -05:00