Commit Graph

3625 Commits (262e55eda20b60e16818da91a46129ee959b98b7)

Author SHA1 Message Date
Noah Gorny 70f0111f69 completion: vue: Remove uneeded condition
Also move the shellcheck warnings to be on their respective line
2021-01-23 23:14:24 +02:00
Gurkirat Singh 812efaab90 added vuejs completion in clean_files 2021-01-23 23:14:24 +02:00
Noah Gorny 49cf84c4fe test: helper: cite plumbing metadata 2021-01-23 23:04:29 +02:00
Noah Gorny 6b3788051f test: plugin: xterm: Use correct _command_exists invocation 2021-01-23 23:03:41 +02:00
Noah Gorny 046e528cc2 plugins: xterm: Fix shfmt complaints 2021-01-23 22:47:15 +02:00
buhl 29855ed1e6 Adding preexec as a vendored library
Added a vendored lib loading routine in bash-it.sh
Added documentation on how to vendor libs in bash-it
Added and fixed plugins using preexec
Added tests for two plugins
Removed the old preexec lib
2021-01-23 18:31:18 +01:00
tiago e2be8bc2bc trailing and code style 2021-01-23 17:30:20 +00:00
buhl 5ad497924c Add "preexec" from "https://github.com/rcaloras/bash-preexec@0.4.1"
git-vendor-name: preexec
git-vendor-dir: vendor/github.com/rcaloras/bash-preexec
git-vendor-repository: https://github.com/rcaloras/bash-preexec
git-vendor-ref: 0.4.1
2021-01-23 18:28:43 +01:00
buhl c9a7837b44 Squashed 'vendor/github.com/rcaloras/bash-preexec/' content from commit 7884535
git-subtree-dir: vendor/github.com/rcaloras/bash-preexec
git-subtree-split: 7884535ed423ac27d3b6b473c61b1fe41905aca1
2021-01-23 18:28:43 +01:00
tiago 54bf7f9a59 check if last command successful 2021-01-23 17:10:32 +00:00
tiago bb6354e205 removed trailing spaces 2021-01-23 14:42:58 +00:00
Noah Gorny 2a2741d761
Merge pull request #1810 from NoahGorny/disable-keep-padding
Disable keep-padding option in shfmt
2021-01-23 09:45:15 +02:00
tiago c7f6e80ad0 fix modern theme, added virtualenv name 2021-01-22 17:07:16 +00:00
BarbUk f86d823dc3
Disable SC2207 to keep COMPREPLY simple 2021-01-22 18:41:16 +04:00
Noah Gorny d2ab59fef8 Disable keep-padding option in shfmt
Has some serious bugs and not really needed
Also fixed all files that need to be changed after this
2021-01-21 22:08:45 +02:00
BarbUk b92f53ece5
Update atomic theme with correct `compgen` syntax 2021-01-16 23:21:04 +01:00
BarbUk ef42c822e6
Update brainy theme with correct `compgen` syntax 2021-01-16 23:18:58 +01:00
Noah Gorny 79df5ffc3c
Merge pull request #1789 from BarbUk/fix/rbenv_version_prompt
Fix rbenv version prompt
2021-01-16 20:18:47 +02:00
Noah Gorny 18781ed397
Merge pull request #1764 from cornfeedhobo/history-plugins
refactor all history modifications into discrete plugins
2021-01-16 19:32:29 +02:00
Noah Gorny 988e966df3
Merge pull request #1773 from tbhaxor/feature/clipboard-copy
added alias for xclip command
2021-01-16 13:27:05 +02:00
BarbUk 814ff562e9
Fix rbenv version prompt 2021-01-16 09:25:12 +01:00
BarbUk 86fd073ee6
Clean brunton 2021-01-16 09:13:23 +01:00
BarbUk 662a5c4ac7
Clean brainy 2021-01-16 09:13:10 +01:00
BarbUk eadd2685df
Clean bobby 2021-01-16 09:12:59 +01:00
BarbUk 8691894175
Clean bira 2021-01-16 09:12:42 +01:00
BarbUk cfb9a22e70
Clean binaryanomaly 2021-01-16 09:12:20 +01:00
BarbUk fb0fa7f799
Clean bakke 2021-01-16 09:12:06 +01:00
BarbUk 59fc8c818d
Update clean_files.txt 2021-01-16 09:11:26 +01:00
cornfeedhobo 4044f4123c
add top-history 2021-01-15 11:57:41 -06:00
cornfeedhobo 61f727fb96
refactor all history modifications into discrete plugins 2021-01-15 11:53:28 -06:00
Noah Gorny 5e667ed476
Merge pull request #1783 from BarbUk/clean/theme_atomic_and_axin
Clean atomic and axin theme
2021-01-14 15:20:38 +02:00
BarbUk bd6dbd3edf
Merge branch 'master' into clean/theme_atomic_and_axin 2021-01-14 13:45:31 +01:00
Noah Gorny bb35450c17
Merge pull request #1733 from tbhaxor/patch-1
Added git alias to list only conflicted files
2021-01-13 21:32:33 +02:00
Noah Gorny 610980dd23 git: aliases: Move glsu to glsum in ls-files and add glsut 2021-01-13 21:19:55 +02:00
Noah Gorny a9b0ec7d1d
Merge pull request #1785 from marcospereira/lint/themes/base.theme.bash
Add themes/base.theme.bash to clean files
2021-01-13 19:15:09 +02:00
Gurkirat Singh 957cd578f7 Added git alias to list only conflicted files 2021-01-13 19:08:41 +02:00
Noah Gorny a0ea33d671
Merge pull request #1778 from tbhaxor/bugfix/vue-routes
fixed existing completion and added conditional completion
2021-01-13 19:06:10 +02:00
Noah Gorny bc32b40088
Merge pull request #1784 from marcospereira/support-sdkman-different-output-formats
Support multiple sdkman output formats
2021-01-13 19:02:35 +02:00
Noah Gorny 70fa3f8d25 aliases: clipboard: Remove command_exists check 2021-01-13 18:43:04 +02:00
Noah Gorny bac50413f1
Merge pull request #1743 from georgettica/georgettica/sort-git-aliases
refactor(aliases): sort
2021-01-13 18:40:55 +02:00
Noah Gorny da662d1332 aliases: clipboard: Add shellcheck header 2021-01-13 18:30:32 +02:00
Gurkirat Singh 9f66059f52 aliases: clipboard: Add more aliases for xclip command
Also lint and cleanup the file
2021-01-13 18:29:57 +02:00
Noah Gorny dd4e410a32 aliases: git: Add shellcheck header 2021-01-13 18:24:53 +02:00
Noah Gorny 8723fc56b2 aliases: git: Sort all commands, even miniscule ones 2021-01-13 18:24:16 +02:00
Ron Green 436381de93 refactor(aliases): sort git aliases file and lint it
- move all comments to the same line so they wont be jumbled
- also add to clean_files.txt
2021-01-13 18:24:13 +02:00
Marcos Pereira 94d261b42d
Fix shellcheck warnings for themes/base.theme.bash 2021-01-12 00:55:15 -05:00
Marcos Pereira 5a761b7ae3
Run code fomatter for themes/base.theme.bash 2021-01-11 15:14:49 -05:00
Marcos Pereira 3f29862478
Add themes/base.theme.bash to clean files 2021-01-11 15:12:39 -05:00
Marcos Pereira 08ff08e043
Support multiple sdkman output formats
sdkman has a specific output format for Java candidate since
there are multiple vendors and builds. For example, when running
`sdk list maven`, the format is a simple list like:

    3.6.2
    3.6.1
    3.6.0
    3.5.4
    3.5.3
    3.5.2
    3.5.0
    3.3.9

But for `sbt list java`, the output is a table like:

    ================================================================================
     Vendor        | Use | Version      | Dist    | Status     | Identifier
    --------------------------------------------------------------------------------
     AdoptOpenJDK  |     | 15.0.1.j9    | adpt    |            | 15.0.1.j9-adpt
                   |     | 15.0.1.hs    | adpt    | installed  | 15.0.1.hs-adpt
     ...
     Amazon        |     | 15.0.1       | amzn    |            | 15.0.1-amzn
                   |     | 11.0.9       | amzn    |            | 11.0.9-amzn
     ...
     Azul Zulu     |     | 15.0.1       | zulu    |            | 15.0.1-zulu
                   |     | 15.0.1.fx    | zulu    |            | 15.0.1.fx-zulu
     ...

Therefore, the completion script has to handle both formats.
2021-01-11 11:16:15 -05:00
BarbUk e574abbbba
Clean theme atomic 2021-01-11 11:42:04 +01:00