Commit Graph

567 Commits

Author SHA1 Message Date
baocheny
cf2a130624 themes/agnoster: Add condaenv prompt
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 14:23:46 +09:00
Koichi Murase
867d1e6336 Merge pull request #394 from Askaiant/python-venv
Add OMB_THEME_SHOW_PYTHON_VENV
2023-02-11 21:19:31 -08:00
Koichi Murase
096ff01f40 themes/luan: Move python_venv next to ruby_env 2023-02-11 23:10:07 +09:00
Koichi Murase
0ab6594e92 themes/luan: Disable the python venv by default 2023-02-11 23:10:07 +09:00
Koichi Murase
d0ea8378a0 themes/luan: Refactor the prompt codes 2023-02-11 23:10:07 +09:00
Koichi Murase
7a54475d48 themes: Specify default OMB_PROMPT_SHOW_PYTHON_VENV for each theme 2023-02-11 23:10:07 +09:00
Askaiant
e3ecc9738c themes/luan: Define python venv as optional
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-11 23:06:43 +09:00
Koichi Murase
59f6ef145b global: Switch the function-declarations to avoid unexpected alias expansions 2023-02-10 00:38:56 +09:00
Koichi Murase
0368b46c61 lib/base: Change indentation 2023-02-10 00:31:17 +09:00
nino Cangialosi
496ba61749 plugins: Add "gcloud" plugin (#386)
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-05 22:24:25 +09:00
Koichi Murase
f6597af711 tools/install: create "~/.bash_profile" if it doesn't exist 2023-02-05 22:14:03 +09:00
Koichi Murase
fff8f7f002 aliases/misc: Add source information 2023-01-24 09:16:54 +09:00
Koichi Murase
64ac3df5c4 aliases/misc: Check existence of executables for aliases 2023-01-24 09:16:54 +09:00
Koichi Murase
81099f1c28 aliases/misc: Do not assume the absolute path of executables 2023-01-07 13:18:58 +09:00
Seth Underwood
ce6e26ddee lib/bourne-shell: Add check for notify-send command prior to setting alert alias 2023-01-07 13:18:55 +09:00
thetombla
60332ed8fb plugins/xterm: Fix xterm plugin to make it work (#378)
* fixes in xterm plugin to make it work
* add missing operator and default xterm title
2022-12-11 11:15:34 +09:00
Koichi Murase
0cca3dd5ab Merge pull request #374 from sanzoghenzo/nvm-auto-use
plugins/nvm: add nvmrc autoload option
2022-12-06 11:11:12 -08:00
Andrea Ghensi
16da2bdc54 plugins/nvm: Fix docs, clean up code, and add license
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-12-05 07:29:55 +09:00
Andrea Ghensi
fadaaa1263 plugins/nvm: Add nvmrc autoload option
Fixes https://github.com/ohmybash/oh-my-bash/pull/371
2022-12-05 07:29:34 +09:00
Andy Lo-A-Foe
1c7f6d67ce aliases: Add Terraform aliases (#367) 2022-11-06 12:11:39 +09:00
Koichi Murase
b8aa23b7f3 Merge pull request #191 from nmarghetti/master
Add quote around path to handle case with space in $HOME or $OSH
2022-10-07 19:50:14 +09:00
nmarghetti
6fd237c363 tools/install,etc: Add quote around path variables to handle case with space in $HOME or $OSH 2022-10-07 19:47:03 +09:00
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