Koichi Murase
96f6e00c38
completions/git: Fix search paths (fixup 70e0787
, fix #415 )
2023-03-13 11:20:16 +09:00
Koichi Murase
70e0787510
completions/git: Search upstream git-completion files in more paths ( Fix #415 )
...
https://github.com/ohmybash/oh-my-bash/issues/415
2023-03-13 00:10:07 +09:00
Koichi Murase
20acfcac1a
completions/git: Use "_omb_util_glob_expand"
2023-03-13 00:10:02 +09:00
Barak Korren
81f3983c1c
completions: Add completion files for OpenShift/K8s tools ( #404 )
...
Including: crc, oc, tkn, helm
2023-02-25 20:06:00 +09:00
Koichi Murase
59f6ef145b
global: Switch the function-declarations to avoid unexpected alias expansions
2023-02-10 00:38:56 +09:00
Koichi Murase
20cbf8d226
lib/grep, etc: avoid obsolete egrep/fgrep
...
https://github.com/Bash-it/bash-it/issues/2163
2022-09-29 18:25:11 +09:00
Koichi Murase
81e2726867
completions/conda: check also "register-python-argcomplete{3,2}"
2022-09-27 10:33:29 +09:00
Koichi Murase
49c66cf04a
completions/*: Fix quoting around _omb_util_function_exists
2022-08-23 18:10:01 +09:00
Koichi Murase
e0a4ada275
completions/conda: Fix a discarded warning message
2022-08-23 18:10:01 +09:00
Koichi Murase
2202aeeb04
Refactor "{type => _omb_util_command_exists}"
2022-08-23 18:09:50 +09:00
M
b893ce6f79
Refactor "{declare -{f,F} => _omb_util_function_exists}"
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:46 +09:00
M
4fb778c405
Refactor "{{which,command -v} => _omb_util_{binary,command}_exists}"
...
`which` has been deprecated in Debian (at least, the rolling release
installed on chromebooks via Linux Containers)
https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1000974461
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:16 +09:00
Koichi Murase
c6fb27acb9
completions/git: Refactor using brace expansions, etc.
...
- Use brace expansions to generate prefixed paths
- Check if the completion file is non-empty
- Specify explicit exit value to "return" for trap handlers
- Clean up the initialization function after initialization
2022-02-05 21:12:44 +09:00
Koichi Murase
a8971e3c7d
lib/readlink: Add "_omb_util_readlink"
2022-02-05 21:08:00 +09:00
Jean-Sébastien Hedde
c106583722
completions/git: Support multiple git paths and resolve symlink
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-05 21:07:44 +09:00
Jean-Sébastien Hedde
5516f7e2ed
completions/git: Return from the function instead of using a flag
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-05 13:17:39 +09:00
Jean-Sébastien Hedde
8fa9c34c43
completions/git: Use a private function and clean debug
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-05 13:17:39 +09:00
Jean-Sébastien Hedde
5ea1aa6b7e
completions/git: Rely on local completion
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-05 13:17:36 +09:00
Jean-Sébastien Hedde
20fa827b89
completions/git: Move the upstream git-completion to subdir "tools"
2022-02-05 13:17:02 +09:00
Jean-Sébastien Hedde
524708823f
completions/git: Bump to v2.34.1
...
wget https://raw.githubusercontent.com/git/git/v2.34.1/contrib/completion/git-completion.bash --output-document=completions/git.completion.sh
2022-02-05 13:16:35 +09:00
Koichi Murase
c3bcc5c6d2
refactor: Normalize shebang of scripts to source
2022-01-15 19:00:35 +09:00
Koichi Murase
3d2b35a3eb
refactor: Replace invalid shebang lines
2022-01-15 15:46:11 +09:00
Koichi Murase
abff767533
fix: Correct executable bit in permissions
2022-01-15 15:29:41 +09:00
Koichi Murase
2027dd42a4
completions/salt: Fix quoting for "compgen -W" and others
2022-01-08 15:34:05 +09:00
Koichi Murase
eaa147afa6
completions/brew: Protect against pathname expansions and refactor
2022-01-08 15:34:05 +09:00
Koichi Murase
6d8896c4dc
completions/makefile: Adjust quoting
2021-12-29 02:03:30 +09:00
Jean-Sébastien Hedde
e0abffc8af
completions/makefile: Respect POSIX compatibility
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-29 02:03:30 +09:00
Jean-Sébastien Hedde
f364333dfd
completions/makefile: Support GNUmakefile and makefile
...
Close #216
2021-12-29 02:03:30 +09:00
SOPHAL HONG
fdd28c810a
completions/minikube: Add minikube completion ( #130 )
...
Co-authored-by: sophal <hongsophal@github.com>
2020-06-11 15:22:58 +07:00
kanedafromparis
467e3cb7b9
completion: update maven completion ( #58 )
2019-07-26 14:32:17 +07:00
Tasos Vlachogiannis
f23792a782
Fix git commands completion ( #62 )
2019-06-27 18:37:10 +07:00
Toan Nguyen
53fb803740
OMB - Major Refactor ( #39 )
...
* OMB - Major Refactor
- Aliases and completions now works like plugins (need to enabled in .bashrc)
- Removed the compatible check in spectrum.sh, OMB now works with Bash v3.x like the old days.
- Removed core plugin, added those bash functions into base.sh and load during startup.
- Updated OSH template for new installations
- Added history config and few other stuff from #17
@TODO: Added a shell script to update old version of .bashrc to new one.
* Fixed ShellCheck issues
* Fixed ShellCheck issues
2019-01-23 03:05:32 -08:00