druckdev 36ca182110 zsh:glog: Better handling of small terminals +more
Instead of storing fzf's output and doing something with it (putting
into clipboard/editing buffer/stdout, etc.) there is a new keybinding
that stores the currently selected commit in the clipboard. fzf's output
is not piped or saved anymore since else `less` cannot be executed
inside of fzf. This is necessary for the second new keybinding that
executes the preview command piped into less. This is needed for example
when `glog` is started in a terminal that is too small to display all
information. In that case the peview window is not shown by default
anymore (but can still be toggled).
Since fzf can now only be aborted it always returns 130. Since this is
annoying `glog` returns 0 at the end form now on.

Refactoring:
Make the `commit_hash` regex more robust and by that simultaneously the
`del_ansi` regex obsolete.
Use `$dateshort` in `$date` since it depends from it.
Do not store the color flag in an extra variable. This was done earlier
to keep the lines under 80 characters but is not needed anymore.
2020-10-13 00:45:57 +02:00
2020-10-06 03:26:08 +02:00
2020-10-06 22:22:42 +02:00
2020-10-06 22:22:42 +02:00
2020-06-30 02:42:23 +02:00
2020-06-28 17:30:36 +02:00
2020-09-13 04:36:52 +02:00
Description
No description provided
MIT 3 MiB
Languages
Shell 79.7%
Vim Script 18.7%
JavaScript 0.6%
CSS 0.6%
Python 0.3%