mnlwldr
177864fc5c
Added the possibility to have an own .bashrc.local
2022-03-25 17:47:00 +09:00
mnlwldr
4bab69d1cd
Added the possibility to have an own .bashrc.local
2022-03-25 17:47:00 +09:00
Koichi Murase
8451bfabd8
oh-my-bash: support OMB_THEME_RANDOM_SELECTED for the selected theme name
2022-03-25 11:51:33 +09:00
Koichi Murase
209ffda0a6
Merge pull request #77 from RXT067:what-the-bash/general_aliases
2022-02-22 18:50:36 +09:00
Koichi Murase
bc12b82574
aliases/misc: Use "_omb_util_binary_exists"
2022-02-22 18:50:09 +09:00
Jacob Hrbek
6641299075
aliases/misc: Add aliases "ix", "xcopy", and "llm"
2022-02-22 18:50:09 +09:00
Koichi Murase
130d5610e2
Merge pull request #76 from RXT067:what-the-bash/pckm
2022-02-22 18:46:39 +09:00
Koichi Murase
16896830ef
aliases/README: Describe the alias module "package-manager"
2022-02-22 18:43:38 +09:00
Koichi Murase
464b738533
aliases/package-manager: Introduce OMB_USE_SUDO and OMB_ALIAS_PACKAGE_MANAGER_SUDO
2022-02-22 18:43:38 +09:00
Koichi Murase
0646c47f30
aliases/package-manager: Use _omb_util_binary_exists for testing command existence
2022-02-22 18:43:38 +09:00
Koichi Murase
92823a2840
aliases/package-manager: Normalize indentation
2022-02-22 18:43:38 +09:00
Jacob Hrbek
aa5a3c3909
aliases/package-manager: Add aliases for package manager handling
2022-02-22 18:43:38 +09:00
Koichi Murase
9909fff8be
tools/upgrade: Use "--git-dir" and "--work-tree" to specify the OMB directory to git ( Fix #311 )
2022-02-22 18:20:22 +09:00
Koichi Murase
92b4c30b13
Merge pull request #277 from jeansebastienh/bump-git-completion
...
completions/git: bump to v2.34.1
2022-02-07 10:21:58 +09:00
Koichi Murase
c6fb27acb9
completions/git: Refactor using brace expansions, etc.
...
- Use brace expansions to generate prefixed paths
- Check if the completion file is non-empty
- Specify explicit exit value to "return" for trap handlers
- Clean up the initialization function after initialization
2022-02-05 21:12:44 +09:00
Koichi Murase
a8971e3c7d
lib/readlink: Add "_omb_util_readlink"
2022-02-05 21:08:00 +09:00
Jean-Sébastien Hedde
c106583722
completions/git: Support multiple git paths and resolve symlink
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-02-05 21:07:44 +09:00
Jean-Sébastien Hedde
5516f7e2ed
completions/git: Return from the function instead of using a flag
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-02-05 13:17:39 +09:00
Jean-Sébastien Hedde
8fa9c34c43
completions/git: Use a private function and clean debug
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-02-05 13:17:39 +09:00
Jean-Sébastien Hedde
5ea1aa6b7e
completions/git: Rely on local completion
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com >
2022-02-05 13:17:36 +09:00
Jean-Sébastien Hedde
20fa827b89
completions/git: Move the upstream git-completion to subdir "tools"
2022-02-05 13:17:02 +09:00
Jean-Sébastien Hedde
524708823f
completions/git: Bump to v2.34.1
...
wget https://raw.githubusercontent.com/git/git/v2.34.1/contrib/completion/git-completion.bash --output-document=completions/git.completion.sh
2022-02-05 13:16:35 +09:00
Koichi Murase
8797ea3c2f
themes: change black foregrounds to gray for dark terminals
2022-02-05 11:43:33 +09:00
Koichi Murase
5e9c2d99f0
tools/install: Update the error message for the Bash version
2022-02-04 20:27:06 +09:00
Koichi Murase
985edbc7c1
Merge pull request #262 from einwickler/rana-frozen-hist
...
rana: Fixing #248
2022-02-01 20:14:06 +09:00
Koichi Murase
d1171d3b5d
themes/rana: Refactor
2022-02-01 20:08:07 +09:00
Koichi Murase
b12f315a06
themes/rana: Normalize indentation
2022-02-01 20:04:15 +09:00
Koichi Murase
7ed2896ab8
themes/rana: Use omb color variables
2022-02-01 20:04:15 +09:00
einwickler
deff47b6b3
themes/rana: Fix the cursor position issue by bare ANSI sequences ( Fix #248 )
2022-02-01 20:03:16 +09:00
Koichi Murase
46818bec17
themes/modern-t: Print information on the command "t" when it's not found
2022-02-01 19:11:06 +09:00
Koichi Murase
5a601cc8d7
Merge pull request #297 from akinomyoga/color
...
Resolve variable name conflicts in `lib/utils.sh` and `themes/colours.theme.sh`
2022-02-01 01:46:29 +09:00
Koichi Murase
973a8bdf30
lib/{utils,omb-prompt-colors}: Support bright color names
2022-02-01 01:43:34 +09:00
Koichi Murase
827277253a
lib/omb-prompt-colors: Rename basic colors
2022-02-01 01:43:32 +09:00
Koichi Murase
411cdd05ce
lib/omb-deprecate: Highlight deprecate messages
2022-02-01 01:42:52 +09:00
Koichi Murase
d76093a3df
plugins/bashmarks: Use global color variables
2022-02-01 01:42:52 +09:00
Koichi Murase
f9ccb2cb12
lib/spectrum: Fix a bug that "spectrum_{ls,bls}" does not work
2022-02-01 01:42:52 +09:00
Koichi Murase
27f82bbbad
lib/spinner: Update example
2022-02-01 01:42:52 +09:00
Koichi Murase
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
Koichi Murase
7ed389eafd
themes: Use new color variables
2022-02-01 01:42:50 +09:00
Koichi Murase
d0e61d2261
lib/omb-prompt-*: Adjust conflicts and dependencies
2022-02-01 01:30:06 +09:00
Koichi Murase
a0db119be6
themes: Move "themes/{colours,base}.theme.sh => lib/omp-prompt-{colors,base}.sh"
2022-02-01 01:30:06 +09:00
Koichi Murase
f51f2f455d
themes/colours: Refactor "color" and "echo_color"
2022-02-01 01:30:06 +09:00
Koichi Murase
ee9eb7659e
lib/utils, themes: Deprecate color variables
2022-02-01 01:30:06 +09:00
Koichi Murase
7c7e276a6e
lib/omb-deprecate: Add functions to declare deprecated variables
2022-02-01 01:30:06 +09:00
Koichi Murase
9788583d4e
refactor(omb-deprecate): Rename "_omb_{util_defun_deprecate => deprecate_function}"
2022-02-01 01:30:06 +09:00
Koichi Murase
e2820dfdd8
Merge pull request #300 from JamesMConroy/rjorgenson-refactor
...
Refactored rjorgenson theme to reduce subshells
2022-02-01 01:24:32 +09:00
Koichi Murase
f208b02458
themes/rjorgenson: Reduce forks by using here strings
2022-02-01 01:22:23 +09:00
Koichi Murase
f953288b17
themes/rjorgenson: Accept empty "OMB_THEME_{BRACKET,STRING}_COLOR" by users
2022-02-01 01:22:23 +09:00
James Conroy
6c0dcf3ce7
themes/rjorgenson: Use globs when checking OS
...
On MacOS the OSTYPE can be `darwin9.0` so we need to check for that
2022-02-01 01:22:23 +09:00
James Conroy
ec42a3c09c
themes/rjorgenson: Remove function keyword
...
Made it more consistent to the rest of the functions in the file
2022-02-01 01:22:23 +09:00