Andre Greeff
1a57a3f113
tools: add Wiki "Themes" page updater script ( #583 )
...
* tools: add Wiki "Themes" page updater script
* style(tools/update-wiki-themes): update indentation and line folding
* style(tools/update-wiki-themes): update coding styles
* refactor(tools/update-wiki-themes): normalize API names
* refactor(tools/update-wiki-themes): merge "-p, --wiki-path" and "-f, --themes-file"
* feat(tools/update-wiki-themes): add "--help"
* feat(tools/update-wiki-themes): resolve the OMB working tree automatically
* feat(tools/update-wiki-themes): add caution for manual editing
* fix(tools/update-wiki-themes): avoid non-POSIX option "-i" for sed
* feat(tools/update-wiki-themes): add alt text for images
* feat(tools/update-wiki-themes): allow theme subtitles
* fix(tools/update-wiki-themes): skip empty theme directories
* feat(tools/update-wiki-themes): print warning for missing images
---------
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-08-24 23:13:09 +09:00
Кирилл Леонов
42c61ddd32
plugins/cargo: add a new plugin for working with cargo ( #588 )
...
* plugins/cargo: add a new plugin for working with cargo
* plugins: add cargo to the general table with plugins
2024-08-24 23:11:20 +09:00
Koichi Murase
d12ee764aa
fix(lib/history): update "HIST{,FILE}SIZE" for unlimited history
...
mksh (MirBSD ksh) does not like empty "HISTSIZE".
2024-08-24 22:51:19 +09:00
Koichi Murase
4b6ed8388f
Merge branch 'README'
2024-08-15 16:33:18 +09:00
Koichi Murase
1e55a283a6
docs(README): update the Contributing section
2024-08-15 16:32:58 +09:00
Koichi Murase
68bedab60c
docs(README): fix the link to the Theme list
2024-08-15 16:31:19 +09:00
Koichi Murase
b48d35854d
docs(README): update the default theme
2024-08-15 16:31:13 +09:00
Koichi Murase
ed0320211a
tools/check_for_upgrade: output message on a lock acquisition failure
2024-08-15 16:31:07 +09:00
Koichi Murase
45a0b4d1e7
docs(README): mention other Markdown files
2024-08-15 16:31:07 +09:00
Harrison Gagnon
f8eed0be00
themes/ht: Add ht theme ( #584 )
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2024-08-12 23:41:42 +09:00
Koichi Murase
f77615fe93
fix(themes/brainy): fix typos in completion settings
2024-07-25 15:27:35 +09:00
Koichi Murase
467499b996
Merge branch 'pb10k'
2024-07-25 15:24:12 +09:00
Koichi Murase
a5894e6f14
fix(themes/{brainy,powerbash10k}): match UID 0 exactly
2024-07-25 15:23:38 +09:00
Koichi Murase
e5582de6ec
fix(themes/{brainy,powerbash10k}): handle unrecognized action for brainy/pb10k
2024-07-25 15:23:38 +09:00
Koichi Murase
cd1e5e1058
fix(themes/powerbash10k): fix pb10k completion
2024-07-25 15:23:38 +09:00
Koichi Murase
ef6281f01b
style(themes/powerbash10k): adjust styles
2024-07-25 15:23:38 +09:00
Koichi Murase
d3a6ae3045
docs(aliases/general): mention the origin
2024-07-25 15:22:50 +09:00
Koichi Murase
b1387f27e8
Merge branch 'docs-aliases'
2024-07-25 15:14:02 +09:00
Koichi Murase
084a0844b9
docs(aliases): add "aliases/general.aliases.md"
2024-07-25 15:11:51 +09:00
Koichi Murase
aa5c5c1669
docs(aliases/debian): fix typos
2024-07-25 15:03:03 +09:00
Koichi Murase
25df2421aa
docs(aliases): split files into pages for respective modules
2024-07-25 15:01:11 +09:00
Koichi Murase
0b218263fd
Merge branch 'brainy'
2024-07-08 22:36:12 +09:00
Koichi Murase
8c4c40aec2
style(themes/brainy): adjust styles
2024-07-08 22:35:28 +09:00
Koichi Murase
1cb8a509af
refactor(themes/brainy): localize variables
2024-07-08 22:20:52 +09:00
Koichi Murase
25bde7de53
refactor(themes/brainy): use "_omb_util_split"
2024-07-08 22:19:37 +09:00
Koichi Murase
06bce020df
perf(themes/powerbash10k): reduce fork using "_omb_prompt_get_python_env"
2024-07-08 22:04:25 +09:00
Koichi Murase
ba587126ec
fix(themes/brainy): include venv information in the "python" segment
2024-07-08 22:04:25 +09:00
Koichi Murase
22e29d8130
style(themes/{brainy,powerbash10k}): change indentation
2024-07-08 22:04:19 +09:00
Koichi Murase
ece0ed32cf
lib/omb-prompt-base: Escape special characters in prompts
2024-07-01 15:29:54 +09:00
slackr
27cf2a4158
themes/half-life: Add python venv support ( #574 )
...
Co-authored-by: ap <ap@parallax.red>
2024-06-10 20:44:11 +09:00
Koichi Murase
52a8fad4cc
Merge pull request #569 from plasmastorm/ssh-global-completion
...
completions/ssh: Include global ssh hosts
2024-05-29 10:55:38 +09:00
Koichi Murase
e155f9a75b
perf(completions/ssh): filter known_hosts in awk
2024-05-29 10:52:40 +09:00
Koichi Murase
cc4151524d
perf(completions/ssh): extract hostnames with a single spawn for each config type
2024-05-29 10:52:40 +09:00
Koichi Murase
ce2601f8ea
style(completions/ssh): normalize styles
2024-05-29 10:52:40 +09:00
Koichi Murase
d20b4461ae
fix(completions/ssh): fix up small issues
...
* fix(completions/ssh): localize variables
* fix(completions/ssh): quote parameter expansions
* perf(completions/ssh): use parameter expansion to get directory name
2024-05-29 10:52:03 +09:00
plasmastorm
c36a950755
completions/ssh: Include system ssh config and known_hosts for hosts
2024-05-29 10:49:44 +09:00
Koichi Murase
f882b9af13
Merge pull request #529 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
Koichi Murase
c2ca9be018
style(completions/ssh): clean up
...
* style(completions/ssh): normalize quoting
2024-05-09 10:51:26 +09:00
Koichi Murase
ad14b874fd
fix(lib/utils): remove duplicate function "_omb_util_split"
2024-05-09 10:50:00 +09:00
Koichi Murase
8c5546613d
docs(lib/utils): describe "_omb_util_{split,expand_glob}" in code comment
2024-05-09 10:50:00 +09:00
Koichi Murase
b788bff0e7
refactor(completions/ssh): use tilde expansions
2024-05-09 10:50:00 +09:00
Koichi Murase
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
Koichi Murase
9cfb35c946
Merge pull request #565 from akinomyoga/fix564 ( Fixes #564 )
...
fix(themes/wanelo): localize variable `status`
2024-05-02 11:42:37 +09:00
Koichi Murase
f296619ac7
refactor(themes/wanelo): split line to construct PS1
2024-05-02 09:40:55 +09:00
Koichi Murase
2b87e07c42
fix(themes/wanelo): localize variable "status"
2024-05-02 09:40:55 +09:00
Koichi Murase
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
Koichi Murase
86efbf1bdc
docs(CONTRIBUTING): move a section and add minor fixes
2024-04-28 17:34:54 +09:00