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
a8971e3c7d
lib/readlink: Add "_omb_util_readlink"
2022-02-05 21:08:00 +09:00
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
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
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
5ea1aa6b7e
completions/git: Rely on local completion
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-02-05 13:17:36 +09:00