Commit Graph

7 Commits

Author SHA1 Message Date
Koichi Murase
59f6ef145b global: Switch the function-declarations to avoid unexpected alias expansions 2023-02-10 00:38:56 +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