Commit Graph

417 Commits

Author SHA1 Message Date
kayos@tcp.direct 700406ae94
fix 2023-03-17 21:23:49 -07:00
kayos@tcp.direct 5f189ce1ee
fix 2023-03-17 21:22:20 -07:00
kayos@tcp.direct c2703e0e81
Formatting 2023-03-11 00:04:23 -08:00
kayos@tcp.direct ccdd74ccdd
lol 2023-03-10 23:50:43 -08:00
kayos@tcp.direct fe34085fc9
oop 2023-03-10 23:50:43 -08:00
kayos@tcp.direct 2621344af5
swoop 2023-03-10 23:50:42 -08:00
Koichi Murase ec7efa5628
Merge pull request #383 from underwoo/case-sensitive
lib/shopt: Allow CASE_SENSITIVE and HYPHEN_INSENSITIVE to work as documented
2023-03-05 15:38:10 -08:00
Koichi Murase aed5238cad lib/shopt: Revert the meaning "OMB_HYPHEN_{IN => }SENSITIVE" 2023-03-03 09:55:20 +09:00
Seth Underwood d76bd709d0 lib/shopt: Allow CASE_SENSITIVE and HYPHEN_INSENSITIVE to work as documented
Adjusted shopt.sh to use CASE_SENSITIVE and HYPHEN_INSENSITIVE
variables to affect completion.

Note: this changes the old default hyphen insensitive completion
behavior. The user will need to set HYPHEN_INSENSITIVE="true" to have
the old default behavior.
2023-03-03 09:55:20 +09:00
Koichi Murase c91a85d421 tools/install: Avoid installing .bash_profile when .profile sources .bashrc 2023-03-03 09:52:06 +09:00
Hrudaynath Dhabe 1d4ada3d5c aliases/ls: Fix a minor comment 2023-02-27 23:59:52 -08:00
Tal Lederman a35e10c498 feat(git.plugin): adding alias to remove a local branch 2023-02-26 06:31:13 -08:00
Koichi Murase ebd541c987 tools/install: Fix a bug that the template files is moved 2023-02-26 00:40:15 +09:00
Barak Korren 81f3983c1c
completions: Add completion files for OpenShift/K8s tools (#404)
Including: crc, oc, tkn, helm
2023-02-25 20:06:00 +09:00
Joe MacDonald 3a26319b9e
lib/shopt: tweak OMB_CASE_SENSITIVE handling in shopt (#399)
The CASE_SENSITIVE setting is checked when setting case-insensitive
globbing but not matching (for features such as command / programmable
completion).  Add checks in the appropriate places, preserving the default
(insensitive) behaviour unless explicitly changed.

This will allow case-sensitivity to apply in an intuitive way, treating
paths, filename completions and command completions consistently.

Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
2023-02-24 00:06:09 +09:00
Koichi Murase 8531e1ba3c
Merge pull request #401 from akinomyoga/agnoster2021
themes/agnoster: Incorporate recent changes of the upstream and refactor
2023-02-22 20:40:39 -08:00
Koichi Murase 5e22c1a213
Merge pull request #400 from ohmybash/gh372
themes/rr: Add Python virtual environments
2023-02-22 20:39:20 -08:00
Koichi Murase 99763849a1 tools/uninstall: Make the uninstall script POSIX compliant 2023-02-22 22:15:20 +09:00
Koichi Murase 773efb25e0 tools/upgrade: Apply the same changes as "tools/install.sh" 2023-02-22 22:12:13 +09:00
Koichi Murase 46ee30ced3 tools: Make the style of conditional command more consistent 2023-02-22 22:12:13 +09:00
Abel Sen 8b8a3b31e0
tools: Apply ShellCheck to files in the `tools` directory (#402)
* Add `.shellcheckrc`
* Apply ShellCheck to `tools/check_for_upgrade.sh`
* Apply ShellCheck to `tools/uninstall.sh`
* Apply ShellCheck to `tools/install.sh`

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-02-22 21:43:37 +09:00
Koichi Murase 1fdb9d035c lib/omb-prompt-base: Fix _Omb_prompt_get_condaenv 2023-02-20 22:40:07 +09:00
Koichi Murase fb0dfe4400
Merge pull request #387 from AhmadMWaddah/master
themes/axin: Show Virtual Env
2023-02-19 17:32:23 -08:00
Koichi Murase f085e5718d themes/agnoster: Refactor the new codes 2023-02-16 16:35:59 +09:00
Koichi Murase a6b655b136 themes/agnoster: Change indentation 2023-02-16 16:35:59 +09:00
Koichi Murase 8c2f1d5049 themes/agnoster: Incorporate recent changes of the upstream
5c79b669bc...1165d1b3f1
2023-02-16 16:35:59 +09:00
Koichi Murase 3d426eb926 themes/agnoster: Add proper copyright notices 2023-02-16 16:07:59 +09:00
Koichi Murase 26f48b030d themes/rr: Refactor using OMB_PROMPT_VIRTUALENV_FORMAT 2023-02-16 14:32:59 +09:00
Koichi Murase c6b9984014 themes/rr: Change indentation 2023-02-16 14:29:18 +09:00
Gabriele Sorci dd7c825762 themes/rr: Add Python virtual environments
https://github.com/ohmybash/oh-my-bash/issues/372#issuecomment-1325678142
2023-02-16 14:12:28 +09:00
Ahmd Mhmd Wddh acc2cc81b4 themes/axin: Apply a style to the Python virtual environments in prompt
- themes/axin: Add Python Virtual Environment Name before terminal
  Prompt for developers when Virtual Environment is activated.
- themes/axin: Rebase on top of the master, where Python virtual
  environments are already added in the promopt.  This PR effectively
  just changes the style, which I tentatively copied from
  plugins/sexy.
2023-02-16 14:05:46 +09:00
Koichi Murase 58ca182422
Merge pull request #180 from saul365/master
lib/shopt: Add support for CASE_SENSITIVE
2023-02-15 17:36:31 -08:00
Koichi Murase 5c541b0e69 lib/shopt: Refactor "{ => OMB_}CASE_SENSITIVE" 2023-02-16 10:30:59 +09:00
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