584 Commits

Author SHA1 Message Date
saul365
4c7bd86a5e lib/shopt: Add support for CASE_SENSITIVE
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-16 10:30:40 +09:00
Koichi Murase
1288ba3c06 Merge pull request #373 from walidabualafia/conda-prompt
themes/sexy: Display Python virtual environments and refactor
2023-02-15 17:00:24 -08:00
Koichi Murase
797da91d75 Merge pull request #335 from juanswan13/patch-1
themes/sirup: Show Python virtual environments
2023-02-15 16:58:46 -08:00
Koichi Murase
9d52d10a6e Merge pull request #282 from KimBioInfoStudio/kim/add_conda_env_2_themes_agnoster
themes/agnoster: Add condaenv in prompt and refactor
2023-02-15 16:57:30 -08:00
Koichi Murase
5d3cd356cc Merge pull request #384 from underwoo/no-notify-send-check
- lib/bourne-shell: Add check for notify-send command prior to setting alert alias
- aliases/misc: Do not assume the absolute path of executables
- aliases/misc: Check the existence of executables for aliases
- aliases/misc: Add source information
2023-02-12 04:23:58 -08:00
Koichi Murase
6984032275 themes/axin: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 17:04:33 +09:00
Koichi Murase
114d1045a5 themes/sexy: Use OMB prompt colors 2023-02-12 17:04:12 +09:00
Koichi Murase
55a31c6b96 themes/sexy: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 17:02:34 +09:00
walid
6e7a306d3e themes/sexy: Refactor coding styles
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 16:25:25 +09:00
walid
836c888699 themes/sexy: Add the active conda environment's name to PS1
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-12 16:03:00 +09:00
Koichi Murase
71d9a1b7da themes/sirup: Move segment "python_venv" next to segment "ruby_gem" 2023-02-12 15:42:00 +09:00
Koichi Murase
b991b94cab themes/sirup: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 15:36:06 +09:00
Koichi Murase
09d7b5a639 themes/sirup: Use an existing utility for python_venv 2023-02-12 15:36:06 +09:00
Juan Swan
937cbbb8a5 themes/sirup: Show VirtualEnv
Added the ability to show the current Virtual Env when using Python Virtual Env.
If there's not vitual env, the theme works normal.
2023-02-12 15:36:06 +09:00
Koichi Murase
2d51ceacb0 themes/absimple: Reuse codes from the "agnoster" theme 2023-02-12 15:13:29 +09:00
Koichi Murase
ec88f62aa3 themes/agnoster: Refactor prompt_{virtual,conda}env 2023-02-12 14:50:58 +09:00
Koichi Murase
f52e91e119 themes/agnoster: Support OMB_PROMPT_SHOW_PYTHON_VENV 2023-02-12 14:33:25 +09:00
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