Commit graph

684 commits

Author SHA1 Message Date
Sebastian Gniazdowski 0293f063db *-highlight: Quite smart string-with-$var-in-it handling at cmd position 2019-06-25 16:16:44 +02:00
Sebastian Gniazdowski cf67edef84 Revert "*-higlight: Advanced argument expansion at command position"
This reverts commit 9a025cb6e6.
2019-06-25 10:10:27 +02:00
Sebastian Gniazdowski 9a025cb6e6 *-higlight: Advanced argument expansion at command position 2019-06-25 10:07:53 +02:00
Sebastian Gniazdowski d4f42a4ae9 -git.ch: Update definition and code (checkout', tag') 2019-06-24 22:53:41 +02:00
Sebastian Gniazdowski 23e58117c1 -git.ch: Fix `checkout' definition 2019-06-24 22:31:34 +02:00
Sebastian Gniazdowski ea97e72581 -git.ch: Fix the `tag' definition 2019-06-24 22:17:57 +02:00
Sebastian Gniazdowski 888eac7a27 plugin.zsh: Correctly handle widgets starting with dash (-*) 2019-06-22 16:01:45 +02:00
Sebastian Gniazdowski e38ff91ca7 Updated README.md 2019-06-20 23:49:12 +02:00
Sebastian Gniazdowski f8940de794 images: Update ideal-string.png 2019-06-20 23:41:32 +02:00
Sebastian Gniazdowski 3c2dab2376 -git.ch: Not reproducing a problem with following alias; a blind fix-try
The `l' alias here:
40b54e7c00/git-config (L46-93)
2019-06-19 23:53:31 +02:00
Sebastian Gniazdowski d930f3d20c -git.ch: `tag' subcommand support. TODO: fix --[np]-merged & pattern ver
…ification
2019-06-19 15:47:22 +02:00
Sebastian Gniazdowski 205787a3cd -git.ch: Fix commit/tag message highlighting – highlight -m's argument 2019-06-19 15:42:59 +02:00
Sebastian Gniazdowski c41b1557b0 -whatis.ch: Use man not whatis as it searches more paths; bases on $PATH
whatis apparently searches the $MANPATH while man does more active
search based on $PATH. To verify, try installing tj/git-extras:

zplugin ice as"program" pick"$ZPFX/bin/git-*" make"PREFIX=$ZPFX"
zplugin light tj/git-extras

and then enter e.g. man git-repl and whatis git-repl

Issue #135
2019-06-19 04:02:46 +02:00
Sebastian Gniazdowski 695db8c7c2 -whatis.ch,plugin.zsh,*-read-all: @zts-read-all -> -fast-zts-read-all
Issue #141
2019-06-18 16:10:59 +02:00
Sebastian Gniazdowski 21f52d89ca -git.ch: `log' subcommand support 2019-06-17 00:25:08 +02:00
Sebastian Gniazdowski 289d2e5592 -git.ch: Detect attemtps to overwrite of an existing remote 2019-06-16 13:07:19 +02:00
Sebastian Gniazdowski 7d7c4488ed -git.ch: Fix highlighting of the --mirror option of `git remote add' 2019-06-16 00:04:22 +02:00
Sebastian Gniazdowski 878d36b32c v1.5 (Performance status +42)
./parse.zsh -hol
Running time: 3.0187120000
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  250        2573,65    10,29   85,36%   2072,33     8,29   68,73%  -fast-highlight-process
 2)   50         433,40     8,67   14,38%    433,40     8,67   14,38%  -fast-highlight-string-process
 3) 2950         270,12     0,09    8,96%    270,12     0,09    8,96%  -fast-highlight-main-type
 4)  250          96,79     0,39    3,21%     96,79     0,39    3,21%  -fast-highlight-math-string
 5)  600          79,28     0,13    2,63%     79,28     0,13    2,63%  -fast-highlight-string
 6)  900          55,13     0,06    1,83%     55,13     0,06    1,83%  -fast-highlight-check-path
 7)   50        3014,82    60,30  100,00%      6,05     0,12    0,20%  (anon)
 8)   50           1,72     0,03    0,06%      1,72     0,03    0,06%  -fast-highlight-init
2019-06-15 23:20:10 +02:00
Sebastian Gniazdowski b878cef2e0 -git.ch: Update 4 subcommands to use NO_MATCH_#_arg; accidental fixes 2019-06-15 23:06:05 +02:00
Sebastian Gniazdowski 2ab785ee96 -git.ch: Sophisticated `reset' highlighting – --hard/etc. specifics etc. 2019-06-15 22:50:08 +02:00
Sebastian Gniazdowski 37e466c504 -git.ch: Merge can take multiple commit arguments. Uplift 2019-06-15 22:48:58 +02:00
Sebastian Gniazdowski 1f42f83288 updated README.md 2019-06-15 21:08:31 +02:00
Sebastian Gniazdowski 7679b9eac9 Merge branch 'chroma-defintions-architecture' 2019-06-15 20:34:08 +02:00
Sebastian Gniazdowski 37611e7ca1 *-higlight: Missing 2>/dev/null redirections in chroma calls 2019-06-15 20:18:40 +02:00
Sebastian Gniazdowski 2d5729a113 -git.ch: Update chroma def. formatting – add vim folds. Remove old defs 2019-06-15 20:08:23 +02:00
Sebastian Gniazdowski 525615928c -git.ch,main-chroma: The `remote' TODO – existing names. URL updates 2019-06-15 20:01:13 +02:00
Sebastian Gniazdowski 4d09df190d -git.ch,main-chroma: Full support for `remote'. TODO: existing names 2019-06-14 00:50:04 +02:00
Sebastian Gniazdowski 65ea439edb -git.ch: Uplift and fix the definition 2019-06-14 00:42:47 +02:00
Sebastian Gniazdowski 428c055b81 main-chroma: Remove the need for >> /tmp/fsh-dbg in the *-print function 2019-06-13 00:45:55 +02:00
Sebastian Gniazdowski d9a874939b main-chroma: Support for :del and :add directives for *_arg entries 2019-06-13 00:36:17 +02:00
Sebastian Gniazdowski e801f7abce main-chroma,-git.ch: `checkout' support. Fix :del/:add for -hyphen opts 2019-06-12 19:39:50 +02:00
Sebastian Gniazdowski 32e96e2c35 -git.ch: `diff' support 2019-06-12 18:27:12 +02:00
Sebastian Gniazdowski 31dec14de9 main-chroma,-git.ch: `revert' support. Support for :del/:add after (a|b) 2019-06-12 18:26:39 +02:00
Sebastian Gniazdowski 41fb8c03c0 -git.ch: Fully support merge' and reset'; the latter could be better 2019-06-12 12:41:35 +02:00
Sebastian Gniazdowski 408b5db436 main-chroma,-git.ch: Uplift: rename handlers, update comments, other 2019-06-12 11:44:05 +02:00
Sebastian Gniazdowski 798c39fc4b -fast-run-git-command: Cache handling – correctly handle empty elements 2019-06-12 11:41:00 +02:00
Sebastian Gniazdowski 189840db75 -git.ch: Complete definition for the `pull' subcommand. NO_MATCH for all
definitions.
2019-06-12 02:32:39 +02:00
Sebastian Gniazdowski 654aaa7e01 main-chroma,-git.ch: Support for "subcmd:*" "CATCH_ALL_#_opt" construct 2019-06-12 02:01:18 +02:00
Sebastian Gniazdowski 094a2d066a -git.ch: A complete definition for the `commit' subcommand 2019-06-12 02:00:07 +02:00
Sebastian Gniazdowski d15d5307b7 main-chroma,-git.ch: Uplift of the code, chroma definitions and comments 2019-06-12 01:57:15 +02:00
Sebastian Gniazdowski 05ab5b30c3 main-chroma,-git.ch,highlight: Move chroma def. into -git.ch. fsh prefix
Also added `push' definition into the chroma def. and slightly updated
the `fetch' definition. Using fsh__* prefix for all created globals. In
general, the working chroma definition for git moved into proper place –
the -git.ch file.
p
2019-06-11 22:28:59 +02:00
Sebastian Gniazdowski 993cc1c139 main-chroma: Fully support all no-subcommand git main options 2019-06-11 01:09:57 +02:00
Sebastian Gniazdowski 0891c7d472 main-chroma: Improve the names of the created hashes 2019-06-11 01:07:05 +02:00
Sebastian Gniazdowski 68e7fc769b main-chroma: Introduce main-chroma-print and improve debug messages 2019-06-11 01:06:34 +02:00
Sebastian Gniazdowski 46ff55c747 main-chroma: Support the subcmd-hook 2019-06-11 00:59:50 +02:00
Sebastian Gniazdowski 0d08346e0f main-chroma: Standard handlers for options with arguments; fix :add bug 2019-06-11 00:08:44 +02:00
Sebastian Gniazdowski a2e8e52c73 main-chroma: Full definition and support for the git `fetch' subcommand 2019-06-10 23:20:26 +02:00
Sebastian Gniazdowski cafa84298a main-chroma.ch: Better debug message // remove old -git.ch code 2019-06-09 23:07:17 +02:00
Sebastian Gniazdowski aa9fff77ab main-chroma.ch: Allow multi-letter names in the definition-array entries 2019-06-09 22:44:19 +02:00
Sebastian Gniazdowski 25f81d78a7 -whatis.ch: Gracefully (but still hacky) handle zsh < 5.0.6 (zle -F -w)
Issue #135
2019-06-01 01:38:01 +02:00