1
0
mirror of https://github.com/ohmybash/oh-my-bash.git synced 2024-05-11 05:55:37 +00:00
Commit Graph

584 Commits

Author SHA1 Message Date
f882b9af13 Merge pull request from typhoe/feat-extend-ssh_completion-to-config.d-directory
feat: add support for ssh completion using files in .ssh/config.d too
2024-05-09 10:57:18 +09:00
c2ca9be018 style(completions/ssh): clean up
* style(completions/ssh): normalize quoting
2024-05-09 10:51:26 +09:00
ad14b874fd fix(lib/utils): remove duplicate function "_omb_util_split" 2024-05-09 10:50:00 +09:00
8c5546613d docs(lib/utils): describe "_omb_util_{split,expand_glob}" in code comment 2024-05-09 10:50:00 +09:00
b788bff0e7 refactor(completions/ssh): use tilde expansions 2024-05-09 10:50:00 +09:00
02a5acc390 fix(completions/ssh): use "_omb_util_{split,expand_glob}" and add refactoring and performance improvements
* refactor(completions/ssh): move declaration of local variables
* perf(completions/ssh): include the for-loop inside the if-statement of ~/.ssh/config
* refactor(completions/ssh): use glob matching
* perf(completions/ssh): read config files in a single grep&awk
* perf(completions/ssh): match ^Host by awk to reduce use of grep
* fix(completions/ssh): use "_omb_util_{split,expand_glob}" for safer expansions
* refactor(completions/ssh): rename local variables
* refactor(completions/ssh): perform pathname expansion at once
* fix(completions/ssh): correct to array var in relative or absolute transform loop

Co-authored-by: Stéphane Juventy <sjuventy.ext@orange.com>
Co-authored-by: me <stephane.juventy@gmail.com>
2024-05-09 10:49:22 +09:00
me
d9711d8637 feat(completions/ssh): support globbing Include files and correct typo
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-05-09 10:47:29 +09:00
me
084a3026b1 fix(completions/ssh): detect Include option in ~/.ssh/config and parse content files for completion 2024-05-09 10:40:32 +09:00
me
b63339088f feat(completions/ssh): add support for ssh completion using files in .ssh/config.d too 2024-05-09 10:40:32 +09:00
9cfb35c946 Merge pull request from akinomyoga/fix564 (Fixes )
fix(themes/wanelo): localize variable `status`
2024-05-02 11:42:37 +09:00
f296619ac7 refactor(themes/wanelo): split line to construct PS1 2024-05-02 09:40:55 +09:00
2b87e07c42 fix(themes/wanelo): localize variable "status" 2024-05-02 09:40:55 +09:00
3b120c1dc4 style(themes/wanelo): adjust styles
* style(themes/wanelo): fix indentation
* style(themes/wanelo): use arithmetic command
* style(themes/wanelo): use "function func { ... }"
2024-05-02 09:40:45 +09:00
86efbf1bdc docs(CONTRIBUTING): move a section and add minor fixes 2024-04-28 17:34:54 +09:00
265d97b5c5 docs(CONTRIBUTING): update instructions for PR 2024-04-28 17:19:41 +09:00
6172dc33fd Merge branch 'pr555' 2024-04-28 17:18:48 +09:00
b73773d39d docs(plugins/xterm): describe dependencies 2024-04-28 16:13:18 +09:00
b5e62a33cb docs(plugins/progress): describe usage of "delay" 2024-04-28 16:13:18 +09:00
c19289da2e plugins/xterm: Fix usage description
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 16:13:18 +09:00
0465928145 plugins/progress: Fix usage description
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 16:13:18 +09:00
876bcddaf5 plugins/battery: Fix usage description
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 16:13:18 +09:00
0754f650ed plugins/xterm: Add documentation 2024-04-28 15:02:42 +09:00
bd9012541f plugins/progress: Add documentation 2024-04-28 15:02:35 +09:00
6b99362b40 plugins/battery: Add documentation 2024-04-28 15:02:26 +09:00
5098a0d3b5 themes: Add lambda theme () 2024-04-28 14:42:35 +09:00
0ec9c0ca4c themes/90210..bobby: Add README.md ()
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 13:11:57 +09:00
f354eb1734 plugins: Add README.md ()
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-04-28 12:37:20 +09:00
f74905ca71 CONTRIBUTING: update description of the theme images 2024-04-28 04:44:42 +09:00
62654f3a92 Merge branch 'refactor-modern' 2024-04-28 04:44:34 +09:00
a99e6f3930 themes/modern: Factorize prompt composition 2024-04-28 04:43:11 +09:00
78888d8bf9 themes/modern: Use $'\n' to include a newline character 2024-04-28 04:43:11 +09:00
4cb952b648 themes/{mairan,zork}: Define variable in the place where it is used 2024-04-28 04:43:11 +09:00
50f629ccda themes/modern+: Localize variables 2024-04-28 04:43:11 +09:00
a78672d792 themes/modern+: Adjust coding style 2024-04-28 04:43:11 +09:00
617381a165 themes/modern+: Adjust indentation 2024-04-28 04:43:11 +09:00
75ec69e652 plugins/git: add documentation () 2024-04-09 13:28:54 +09:00
6c1bde9779 Merge pull request from ScumbagScalawag/themes/zork/virtual-env-resolve
themes/{zork,mairan}: Resolve VIRTUAL_ENV with double-quotes
2024-04-01 22:09:30 +09:00
92925a6b2a themes/mairan: Quote variable expansion $VIRTUAL_ENV 2024-04-01 22:07:14 +09:00
802db75233 themes/zork: Quote variable expansion $VIRTUAL_ENV
Without double-quotes, paths with spaces are not resolved correctly
and venv name is not displayed correctly.
2024-04-01 22:06:38 +09:00
8ae205f918 feat(alias/package-manager): Add some useful aliases for portage ()
* Add some useful aliases for portage
* Improve the description of emfu
* Update README.md
2024-04-01 21:59:52 +09:00
4c2afd012a themes/robbyrussell: Add Python Virtual environment indicator ()
Co-authored-by: programmer <programmer@debian.debian>
2024-02-28 20:48:05 +09:00
aa5deb804c Merge branch 'refactor-bashmarks' 2024-02-21 19:56:02 +09:00
f796ee65ae Merge branch 'roderik-venv' 2024-02-21 19:55:52 +09:00
d7a1cf5542 themes/purity: add "sync" to deprecated variables 2024-02-21 19:55:14 +09:00
3fc1eadfb3 plugins/bashmarks: Change style of the command list 2024-02-21 19:54:59 +09:00
d3aa37eeff plugins/bashmarks: Remove sections duplicated by rebasing 2024-02-21 19:54:59 +09:00
51e8b97dca themes/roderik: Fix styles 2024-02-21 19:54:07 +09:00
0a7a083308 themes/roderik: Change indentation 2024-02-21 19:54:07 +09:00
0177468202 lib/omb-prompt-base: Use _omb_prompt_git 2024-02-21 19:50:28 +09:00
a412761ff9 lib/omb-prompt-base: Use _omb_prompt_git_status_enabled to test hide-status 2024-02-21 19:50:17 +09:00