5c541b0e69
lib/shopt: Refactor "{ => OMB_}CASE_SENSITIVE"
2023-02-16 10:30:59 +09:00
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
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
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
114d1045a5
themes/sexy: Use OMB prompt colors
2023-02-12 17:04:12 +09:00
55a31c6b96
themes/sexy: Support OMB_PROMPT_SHOW_PYTHON_VENV
2023-02-12 17:02:34 +09:00
7a54475d48
themes: Specify default OMB_PROMPT_SHOW_PYTHON_VENV for each theme
2023-02-11 23:10:07 +09:00
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
59f6ef145b
global: Switch the function-declarations to avoid unexpected alias expansions
2023-02-10 00:38:56 +09:00
0368b46c61
lib/base: Change indentation
2023-02-10 00:31:17 +09:00
ce6e26ddee
lib/bourne-shell: Add check for notify-send command prior to setting alert alias
2023-01-07 13:18:55 +09:00
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
6cf681027f
Merge pull request #215 from ruslan-sem/patch-1
...
lib/functions: Update "alias_value"
2022-10-07 19:27:04 +09:00
158a906c57
lib/functions (alias_value): Fix small issues and support bash-3
2022-09-29 19:58:41 +09:00
074c311073
lib/functions: Update alias_value
...
Fix function alias_value()
2022-09-29 19:58:32 +09:00
d830c75431
lib/history (HIST_STAMPS): do not enclose within [...] by default
2022-09-29 19:35:34 +09:00
5a7a9e3c65
lib/history (HIST_STAMPS): Adjust format
2022-09-29 19:28:19 +09:00
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
8a96cc45c6
lib/history (HIST_STAMPS): Make it work and add color
2022-09-29 19:27:57 +09:00
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
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
2202aeeb04
Refactor "{type => _omb_util_command_exists}"
2022-08-23 18:09:50 +09:00
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
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
91b36b48a7
aliases/general (cp,mv,mkdir): check the support for non-POSIX "-v"
...
https://github.com/ohmybash/oh-my-bash/issues/351
2022-08-23 13:58:49 +09:00
4309b4ec4b
lib/base,aliases/general: add copyright information
2022-08-23 11:38:26 +09:00
e7ca92bde1
lib/grep: Fix the alias names for egrep/fgrep
2022-07-14 22:13:13 +09:00
3e441aa00b
lib/bourne-shell: Remove duplicate aliases
2022-07-03 13:28:58 +09:00
0fe8c0bf0d
lib: support OMB_DEFAULT_ALIASES to control the alias overriding
2022-07-03 13:28:58 +09:00
ce1c03f5a0
lib/bourne-shell: Do not override user-defined aliases ( Fix #304 )
...
Fixes #304 by checking if the alias already exists before applying it.
2022-07-03 12:48:44 +09:00
1272a39800
lib/history: Remove the limit of the history sizes
2022-06-23 11:03:37 +09:00
a9859427fd
lib/utils (_omb_util_prompt_command_hook): Preserve $?
2022-06-20 14:19:46 +09:00
a2944b91d8
lib/spectrum: fix up ed5a250
2022-04-21 20:59:02 +09:00
ed5a250baa
lib/spectrum: add workaround for global associative arrays in bash-4.0..4.1
2022-04-21 10:14:58 +09:00
177864fc5c
Added the possibility to have an own .bashrc.local
2022-03-25 17:47:00 +09:00
a8971e3c7d
lib/readlink: Add "_omb_util_readlink"
2022-02-05 21:08:00 +09:00
973a8bdf30
lib/{utils,omb-prompt-colors}: Support bright color names
2022-02-01 01:43:34 +09:00
827277253a
lib/omb-prompt-colors: Rename basic colors
2022-02-01 01:43:32 +09:00
411cdd05ce
lib/omb-deprecate: Highlight deprecate messages
2022-02-01 01:42:52 +09:00
d76093a3df
plugins/bashmarks: Use global color variables
2022-02-01 01:42:52 +09:00
f9ccb2cb12
lib/spectrum: Fix a bug that "spectrum_{ls,bls}" does not work
2022-02-01 01:42:52 +09:00
27f82bbbad
lib/spinner: Update example
2022-02-01 01:42:52 +09:00
8eb9fec5ed
lib, themes: Resolve conflicting variables
...
"lib" has used the variables "red", "green", "yellow", "blue", and
"purple" for outputting logs to stdout/stderr. On the other hand,
"themes" has used the same variables for including escape sequences in
PS1. These two sets of variables have different values, i.e., the
latter is enclosed by '\[' and '\]' and contains escaped '\e', which
means that there have been variable conflicts. In this commit, more
specific variables are used in these places to resolve the conflicts.
2022-02-01 01:42:52 +09:00
7ed389eafd
themes: Use new color variables
2022-02-01 01:42:50 +09:00
d0e61d2261
lib/omb-prompt-*: Adjust conflicts and dependencies
2022-02-01 01:30:06 +09:00
a0db119be6
themes: Move "themes/{colours,base}.theme.sh => lib/omp-prompt-{colors,base}.sh"
2022-02-01 01:30:06 +09:00
ee9eb7659e
lib/utils, themes: Deprecate color variables
2022-02-01 01:30:06 +09:00
7c7e276a6e
lib/omb-deprecate: Add functions to declare deprecated variables
2022-02-01 01:30:06 +09:00
9788583d4e
refactor(omb-deprecate): Rename "_omb_{util_defun_deprecate => deprecate_function}"
2022-02-01 01:30:06 +09:00
7dce520857
oh-my-bash: support OMB_VERSION and OMB_VERSINFO
2022-01-19 15:50:18 +09:00