Koichi Murase
4ad3482985
plugins/sudo: Add keybindings following OMZ
2023-04-09 00:07:34 +09:00
Victor Munoz
47852f487f
plugins: Add plugin "sudo"
2023-04-09 00:04:00 +09:00
Koichi Murase
0e9f0e7e7c
aliases/general: Avoid using bash-4.0 feature |&
2023-04-06 11:46:04 +09:00
Koichi Murase
08d019bd10
Merge pull request #430 from mihir3445/master
...
The `agnoster` theme out of the box reports "command not found"
2023-04-05 01:56:45 -07:00
Koichi Murase
d7993748b0
themes/doubletime: Fix "command not found" error caused by #118 ( Fix #429 )
...
This is a regression by PR #118 on GitHub [1].
[1] https://github.com/ohmybash/oh-my-bash/pull/118 .
2023-04-05 15:24:35 +09:00
Mihir Patel
aabc172d7a
themes/agnoster: Fix "command not found" error caused by #118 ( Fix #429 )
...
This is a regression by PR #118 on GitHub [1]. `git_status_dirty` and
`git_stash_dirty` are functions and not external commands.
[1] https://github.com/ohmybash/oh-my-bash/pull/118
2023-04-05 15:22:33 +09:00
Koichi Murase
9b8173c984
Merge pull request #181 from rrthomas/fix-git-using-command
...
base.theme.sh: use “command” to run git and svn everywhere
2023-04-04 18:56:57 -07:00
Koichi Murase
1fb516dfe2
plugins/git: Prefix "command" to git aliases
2023-04-05 10:52:30 +09:00
Koichi Murase
1453db64c8
global: Use "command" to run "hg"
2023-04-05 10:35:13 +09:00
Koichi Murase
897876eae1
global: Use "command" to run "git" and "svn"
2023-04-05 10:35:11 +09:00
Reuben Thomas
d3e6411f54
lib/omb-prompt-base: Use "command" to run git and svn everywhere
...
This was largely done correctly, but several invocations of “git” were not
done with “command”. This means that they could pick up aliases for git,
such as “hub” or “lab”, which would still work, but (especially with “lab”)
make things really slow.
2023-04-05 10:30:39 +09:00
Marc Richter
1187cb1f16
lib/history: Fix broken link in comments ( #425 )
2023-04-04 20:15:10 +09:00
Marc Richter
0fd6cab041
lib/history: Removed redundant shopt command (histappend) ( #426 )
2023-04-04 20:14:44 +09:00
Marc Richter
78da2ce84d
Removing redundant HISTIGNORE patterns
2023-04-04 04:13:43 -07:00
hiagofranco
3d14c374b9
omb-prompt-base: Add "." to git branch whitelist ( #420 )
...
* omb-prompt-base: Add "." to git branch whitelist
Add "." to git branch character whitelist to fix branches
like v6.0 or 5.4.2, as examples.
* Update lib/omb-prompt-base.sh
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2023-04-04 20:12:42 +09:00
Brent Wilkins
c6f7d4fe9f
aliases: Add Docker aliases ( #421 )
...
* Copied the Docker aliases from https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/docker/docker.plugin.zsh
* Sorted sections in README.md and put the new aliases in code tags
* Fixed table header divider alignment
2023-04-04 06:47:14 +09:00
Edwin Kofler
80b4974044
fix: Small syntax improvements ( #424 )
2023-04-02 03:02:29 +09:00
Koichi Murase
5fd472f0f2
aliases/general: Check -W flag for alias nano
2023-03-27 00:14:17 +09:00
Koichi Murase
eb1ea3ee19
lib/utils (_omb_util_glob_expand): Fix shopt restoration failure (fixup f6d6dcc
, fix #416 )
...
https://github.com/ohmybash/oh-my-bash/issues/416
2023-03-13 19:00:10 +09:00
Koichi Murase
96f6e00c38
completions/git: Fix search paths (fixup 70e0787
, fix #415 )
2023-03-13 11:20:16 +09:00
Koichi Murase
70e0787510
completions/git: Search upstream git-completion files in more paths ( Fix #415 )
...
https://github.com/ohmybash/oh-my-bash/issues/415
2023-03-13 00:10:07 +09:00
Koichi Murase
20acfcac1a
completions/git: Use "_omb_util_glob_expand"
2023-03-13 00:10:02 +09:00
Koichi Murase
f6d6dccfa1
lib/utils (_omb_util_glob_expand): Avoid variable name conflicts
2023-03-13 00:10:02 +09: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