Commit Graph

431 Commits (ed4d206bf6d383e526140099980d292493ab7634)

Author SHA1 Message Date
Cristian Lupascu ed4d206bf6 Powerline prompt section to display last command duration
Human display of the last command duration, if threshold exceeded

Add configurable threshold for prompt duration display (5s)

Nicer format for the time
2020-08-18 23:29:55 +03:00
cornfeedhobo 6b66fbf88c
clean up jenv to follow the newer pattern 2020-07-30 07:50:35 -05:00
Nils Winkler 43ef48544d
Merge pull request #1627 from NoahGorny/fix-alias-completion-plugin
plugins: Fix quotes around prec_word agruments
2020-07-15 08:54:56 +02:00
Nils Winkler f8d1a1c2d7
Merge pull request #1642 from cornfeedhobo/projects-logging
Projects logging
2020-07-13 11:11:35 +02:00
Nils Winkler 68cd78db29
Merge pull request #1639 from cornfeedhobo/cleanup-fzf-plugin
Minor cleanups to fzf plugin
2020-07-13 10:10:30 +02:00
cornfeedhobo 67d359d615
attempt to simplify the description 2020-07-12 16:21:14 -05:00
cornfeedhobo cf47e1f93e
nit pick spacing 2020-07-12 12:37:00 -05:00
cornfeedhobo ca409b699d
minor cleanups to fzf plugin 2020-07-12 12:33:29 -05:00
cornfeedhobo 1c06c0ab61
cleanup node plugin, and make it play nice with nodenv 2020-07-08 11:32:12 -05:00
Noah Gorny a224d65f5b plugins: Fix quotes around prec_word agruments 2020-06-24 15:11:49 +03:00
Noah Gorny a697fd2c53 plugins: Tidy gitstatus plugin comments and code 2020-06-22 14:57:06 +03:00
Noah Gorny d7aebe17a3 plugins: Rename SCM_GIT_GITSTATUS_PLUGIN_SH_LOC to SCM_GIT_GITSTATUS_DIR
Also fix the destructor in case plugin did not load as expected
2020-06-22 14:57:06 +03:00
Noah Gorny 3eac73f613 plugins: Rename gitstatusd plugin to gitstatus 2020-06-22 14:57:05 +03:00
Noah Gorny 6294797986 Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC 2020-06-22 14:56:13 +03:00
Noah Gorny 1143bb8ddf plugins: Add disable callback for gitstatusd 2020-06-22 14:56:13 +03:00
Noah Gorny 5d14030591 plugins: Add gitstatud plugin 2020-06-22 14:55:25 +03:00
patricknraanes 2a05292cda Fix 2020-05-22 13:10:17 +02:00
cornfeedhobo e7e9d04628
use || to silence exit 1 properly and quit fasd init 2020-05-19 16:59:47 -05:00
Nils Winkler 912d0b88d5
Merge pull request #1602 from cornfeedhobo/add-fasd-plugin
Add fasd plugin
2020-05-19 09:32:12 +02:00
Nils Winkler 0122497e6c
Removed VS Code Plugin, since VS Code provides the `code` command out of
the box now.
2020-05-13 10:25:36 +02:00
Nils Winkler ec384be4be
Remove echo when a dead SSH Agent PID is found
This case can be safely ignored, no need to print a message for that.

Fixes #1579
2020-05-02 14:46:05 +02:00
Rick Rezinas 4835f1905e fix for issue #1418 2020-04-27 21:22:23 -07:00
Ralph Gutmann 306be4dd4f (minor) options fix 2020-04-21 18:34:28 +02:00
Ralph Gutmann ce160ff314 added tar extract-directory creation and usage (also removal of unnecessary recursion where appropriate) 2020-04-21 18:12:56 +02:00
Uco Mesdag dfeb72d6aa
Added function metadata and bash version check 2020-04-13 13:35:52 +02:00
Uco Mesdag e73f6dbc62
Reworded the about 2020-04-13 02:37:24 +02:00
Uco Mesdag b220c0e744
Plugin to toggle sudo before your current or last command 2020-04-13 02:30:28 +02:00
cornfeedhobo 5faeb6dc5c
add simple fasd plugin 2020-04-11 16:27:17 -05:00
Alex Thiessen 7a83c56d3a
plugins/base: Detect HTTP errors in `myip()`
Out of the box, `curl` reports success (via exit code) even if the
server returns an error, e.g. _429 Too Many Requests_ which was
sometimes the case with `http://myip.dnsomatic.com`. So, errors went
undetected.

There is the `--fail` switch which enables us to use the exit code the
way we need:

> -f, --fail
>        (HTTP) Fail  silently  (no  output  at  all)  on  server
>        errors. This is mostly done to better enable scripts etc
>        to better deal with failed  attempts.  In  normal  cases
>        when  an  HTTP  server  fails  to deliver a document, it
>        returns an HTML document stating so  (which  often  also
>        describes  why  and  more).  This flag will prevent curl
>        from outputting that and return error 22.

Use it to make the `myip()` deliver results reliably.
2020-04-07 00:01:09 +02:00
David Farrell f52453c643
Fix goenv plugin 2020-03-25 11:29:12 -07:00
Nils Winkler 52123d5072
Merge pull request #1510 from cornfeedhobo/add-goenv
Add goenv plugin
2020-03-25 08:42:17 +01:00
David Farrell ab7f15bee1
Added a comment 2020-03-10 23:02:33 -07:00
David Farrell 8e9dadfaad
Adds metadata + support for multiple arguments 2020-03-10 22:58:39 -07:00
cornfeedhobo 58d3acfd88
add goenv plugin 2020-03-10 02:03:05 -05:00
David Farrell 6419d9246d
Add cht.sh plugin 2020-03-09 12:38:05 -07:00
Taro Sato a7a777b20a Pass all the expected arguments to completion function 2020-02-28 01:04:19 -08:00
Taro Sato fbc8f7ddf4 Add comment explaining compl_func_args 2020-02-23 18:40:54 -08:00
Taro Sato fe26adf7ac Pass the aliased command as an argument to _filedir_xspec 2020-02-22 16:20:40 -08:00
Nils Winkler 48383afc49 Renamed the fuck plugin 2020-02-16 12:38:14 +01:00
Nils Winkler 54673712be Updated init code for fuck
Moved to a plugin, removed "fuck" alias.
2020-02-16 12:37:58 +01:00
Nils Winkler fb7160cf60
Merge pull request #1493 from bingzhangdai/patch-1
Create ~/.ssh and ~/.ssh/config if does not exits
2020-02-16 12:33:04 +01:00
Bingzhang Dai f7cb2ef5c6
Update ssh.plugin.bash 2020-02-16 15:44:50 +08:00
Bingzhang Dai bf7da247bf
Revert changes 2020-02-16 15:42:51 +08:00
Bingzhang Dai 72224ab034
Create ~/.ssh and ~/.ssh/config if does not exits 2020-02-16 15:39:37 +08:00
John McBride a76a9ee437 Remove fasd zz function from percol plugin
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-14 14:03:54 -07:00
John McBride b442267d2d Remove vf funcion as fasd unsupported
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-05 15:15:13 -07:00
John McBride 3f293c253f Safe array expansion
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 15:37:54 -07:00
John McBride 6cd634dd85 Initilize as array in example
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 15:32:27 -07:00
John McBride b4b4ccfe31 Correct bind option
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 12:52:47 -07:00
John McBride 036c26dbed Update jump plugin
- remove z plugin
- remove fasd plugin
- update test that referenced fsad

Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 11:43:24 -07:00