Commit Graph

345 Commits

Author SHA1 Message Date
nmarghetti
b88cbd312c github/workflows: Add "test.yml" 2022-10-07 19:45:11 +09:00
nmarghetti
575535636a tools/install: Accept the repository URL through env "OSH_REPOSITORY" 2022-10-07 19:45:11 +09:00
Koichi Murase
33859d9210
Merge pull request #195 from cauerego/master
themes: Add ab+simple theme
2022-10-07 19:38:06 +09:00
Koichi Murase
a4c92d60ce themes/absimple: Use the standard way to register PROMPT_COMMAND 2022-10-07 19:36:11 +09:00
Koichi Murase
9ac2a92906 plugins/xterm: Refactor
* plugins/xterm: Add header line as an OMB plugin
* plugins/xterm: Add link to the upstream version
* plugins/xterm: Add the list of the configuration variables
* plugins/xterm: Do not rely on the function "cite"
* plugins/xterm: Add dependency to bash-preexec
* plugins/xterm: Use "function func" to avoid aliasing
* plugins/xterm: Namespacing function names
* plugins/xterm: Namespacing configuration variables
* plugins/xterm (_omb_plugin_xterm_set_title): Avoid expanding escapes in directory names, etc.
* plugins/xterm: Always enable precmd/preexec because the plugin should be enabled by the users' decision
* plugins/xterm: Do no unneccessarily add braces around ${var}
* plugins/xterm: Do no uneccessarily quote words
* plugins/xterm: Add README
2022-10-07 19:35:58 +09:00
Koichi Murase
6cf681027f
Merge pull request #215 from ruslan-sem/patch-1
lib/functions: Update "alias_value"
2022-10-07 19:27:04 +09:00
Koichi Murase
b715b06fb7
Merge pull request #226 from berkoezel/debian-plugin
aliases: Add "debian" aliases
2022-10-07 19:26:18 +09:00
Koichi Murase
2ce3fff288
Merge pull request #234 from jvitorinoj/date-format
lib/history: Make HIST_STAMPS works and add color to history
2022-10-07 19:25:12 +09:00
Koichi Murase
4026ab6380 plugins/bash-preexec: Add loader
* plugins/bash-preexec: Add loader
* plugins/bash-preexec/README: Fix description
2022-10-02 11:21:06 +09:00
Koichi Murase
b07eaa1ce4 themes/absimple: Update description
* themes/absimple/amsimple.theme.sh: Update description
* themes/absimple/README: Update description
2022-10-02 11:18:34 +09:00
import
14df64e381 tools: import "bash-preexec" from the upstream 2022-10-02 11:18:34 +09:00
import
1c4685895d plugins: import "xterm" from Bash-it 2022-10-02 11:18:34 +09:00
aueoiae
80a2551f06 themes: Add "absimple" 2022-10-02 11:18:34 +09:00
Koichi Murase
158a906c57 lib/functions (alias_value): Fix small issues and support bash-3 2022-09-29 19:58:41 +09:00
Ruslan Samoylenko
074c311073 lib/functions: Update alias_value
Fix function alias_value()
2022-09-29 19:58:32 +09:00
frogwine
27be178aa3 aliases: Add "debian" aliases 2022-09-29 19:45:37 +09:00
Koichi Murase
d830c75431 lib/history (HIST_STAMPS): do not enclose within [...] by default 2022-09-29 19:35:34 +09:00
Koichi Murase
5a7a9e3c65 lib/history (HIST_STAMPS): Adjust format 2022-09-29 19:28:19 +09:00
jvitorinoj
6c9ff6c538 lib/history (HIST_STAMPS): Remove unecessaries subshells
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-09-29 19:28:19 +09:00
Joao Vitorino
8a96cc45c6 lib/history (HIST_STAMPS): Make it work and add color 2022-09-29 19:27:57 +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
62b0724471
Merge pull request #358 from Charadon/master
lib/omb-prompt-base: Fix unbound variable error
2022-09-29 18:13:43 +09:00
Charadon
ea20d4cd81 lib/omb-prompt-base: Fix unbound variable error
The variable `git_status_flags` was not declared in the function
`git_prompt_vars`, so if `set -u` was set in bashrc, it would give
unbound variable error constantly with `set -u`.

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-09-29 18:12:22 +09:00
Koichi Murase
81e2726867 completions/conda: check also "register-python-argcomplete{3,2}" 2022-09-27 10:33:29 +09:00
Koichi Murase
bf319e3d31
Merge pull request #355 from gjurgensen/master
Add robbyrussell theme
2022-09-26 08:18:32 +09:00
Koichi Murase
074fe6fe2b aliases/general(cp,mv,mkdir): Fix command-not-found by expanded aliases in functions 2022-09-16 20:17:42 +09:00
Grant Jurgensen
cde121eccd themes/{robbyrussell,rr}: Add separate prefixes for svn and hg 2022-09-16 20:10:17 +09:00
Grant Jurgensen
748b5842f7 themes/{robbyrussell,rr}: Add _omb_prompt_normal to end of prompt 2022-09-13 08:10:17 +09:00
Grant Jurgensen
cdd5c23632 themes/robbyrussell: Add comment referencing original theme in ohmyzsh and url link 2022-09-11 13:05:57 +09:00
Grant Jurgensen
4906d05bc7 themes/robbyrussell: Add robbyrussell to THEMES.md 2022-09-11 13:05:41 +09:00
Grant Jurgensen
252e67d842 themes: Add robbyrussell theme
Modified from oh-my-bash theme "rr", attempting to recreate oh-my-zsh default theme "robbyrussell"
2022-09-11 13:05:37 +09:00
Koichi Murase
4c4ffe0a70
Merge pull request #250 from ZQPei/master
themes/pzq: Add pzq themes inspired by ys-theme from oh-my-zsh and rana
2022-09-08 06:17:04 +09:00
Koichi Murase
b9295c6da0
Merge pull request #239 from mchaker/patch-1
Replace `which` with `command -v`
2022-08-30 12:42:45 +09:00
Koichi Murase
669d8ce0b2 themes/rana: Enclose terminal constrol sequences within \[...\] 2022-08-30 12:01:10 +09:00
Koichi Murase
b956acaa0c themes/pzq: Add image 2022-08-30 12:00:45 +09:00
Koichi Murase
0b52ce05c1 themes/pzq: Fix wrong usage of "echo -n" 2022-08-30 12:00:38 +09:00
Koichi Murase
af18e3d41c themes/pzq: Refactor and change styles 2022-08-30 11:32:56 +09:00
Koichi Murase
b114cabe1e themes/pzq: Apply recent updates 2022-08-30 11:31:42 +09:00
Koichi Murase
85fe63eea9 themes/pzq: Use "_omb_prompt_get_python_venv" 2022-08-30 11:13:56 +09:00
Koichi Murase
d8edd07254 themes/pzq: Apply suggestions from code review 2022-08-30 11:03:51 +09:00
ZQPei
62767d6fb4 themes/pzq: Remove verbose git status info for speed accerating 2022-08-30 10:42:11 +09:00
ZQPei
ed1bbc3dd9 themes/pzq: Add pzq themes inspired by ys-theme from oh-my-zsh and rana 2022-08-30 10:42:11 +09:00
Anish
2cdaead214 themes: Add a new theme "rr" inspired by robbyrussell from ohmyzsh 2022-08-30 10:09:38 +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
d5e9c7deb1 tools/install: Refactor "{hash => type -P}" 2022-08-23 18:09:56 +09:00
Koichi Murase
2202aeeb04 Refactor "{type => _omb_util_command_exists}" 2022-08-23 18:09:50 +09:00
M
de66a70f91 Refactor "{ => _omb_util_}command_exists"
https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1007886245

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
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