299 Commits

Author SHA1 Message Date
2202aeeb04 Refactor "{type => _omb_util_command_exists}" 2022-08-23 18:09:50 +09:00
M
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
M
b893ce6f79 Refactor "{declare -{f,F} => _omb_util_function_exists}"
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:46 +09:00
M
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
f52647d6d6 aliases/general (cic): fix non-working readline configuration 2022-08-23 13:58:49 +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
c91d1db033 README: Describe the user setup for the system-wide installation 2022-07-15 10:28:56 +09:00
e7ca92bde1 lib/grep: Fix the alias names for egrep/fgrep 2022-07-14 22:13:13 +09:00
5d77aa049a Merge pull request #345 from oscarenzo/release/improvement_vagrant_plugin
Feature to connect over vagrant servers
2022-07-14 06:04:38 +09:00
8c4b4a0824 plugins/vagrant: Ajdust styles 2022-07-14 06:04:13 +09:00
7f5d85f031 Feature to connect over vagrant servers
Fix in Ansible plugin description
2022-07-13 22:34:15 +02:00
1e4b8bef67 Merge pull request #305 from solonovamax/master
Fixes user defined aliases being overridden by OMB
2022-07-08 09:00:23 +09:00
382bea63e5 Merge pull request #344 from oscarenzo/contribution_vagran_plugin
Vagrant plugin creation for OMB
2022-07-08 08:57:41 +09:00
4866624f79 plugins/vagrant: Add style changes 2022-07-08 05:29:33 +09:00
94e5f0f13a plugins: Add vagrant plugin for OMB 2022-07-08 05:29:33 +09:00
2df8a256f1 tools/install: support "--prefix" for the system-wide installation 2022-07-04 14:06:10 +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
92f303125c README: mention the original bashrc 2022-06-22 04:38:35 +09:00
4df4a6a2f0 Merge pull request #331 from leofdss/master
Add vscode theme
2022-06-21 07:13:45 +09:00
a9b463f381 themes/vscode: Adjust the coding styles and refactor 2022-06-21 07:11:39 +09:00
6f5895dc94 themes: Add the "vscode" theme 2022-06-21 07:11:29 +09:00
a9859427fd lib/utils (_omb_util_prompt_command_hook): Preserve $? 2022-06-20 14:19:46 +09:00
4ed64bc877 Merge pull request #332 from ThePhilderbeast/tmux-reattach
Fix Tmux-autoattach plugin to reattach to a session is there is one
2022-06-20 13:59:25 +09:00
cb3d338a0e plugins/tmux-autoattach: Add memorandum about the background of option "-s0" 2022-06-20 13:58:31 +09:00
fb978ce75e plugins/tmux-autoattach: Automatically attach to session 0 by default
this corrects the plugin not connecting back to the session by default
2022-06-20 13:50:50 +09:00
cb7238fb8f tools/install: update the commandline help 2022-06-12 18:30:11 +09:00
cef755582a README: mention the install option "--unattended" (Fix #334) 2022-06-12 18:25:07 +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
a652a77c17 Update repo link
This clone line fails with:
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
2022-04-12 20:42:52 +09:00
177864fc5c Added the possibility to have an own .bashrc.local 2022-03-25 17:47:00 +09:00
4bab69d1cd Added the possibility to have an own .bashrc.local 2022-03-25 17:47:00 +09:00
8451bfabd8 oh-my-bash: support OMB_THEME_RANDOM_SELECTED for the selected theme name 2022-03-25 11:51:33 +09:00
209ffda0a6 Merge pull request #77 from RXT067:what-the-bash/general_aliases 2022-02-22 18:50:36 +09:00
bc12b82574 aliases/misc: Use "_omb_util_binary_exists" 2022-02-22 18:50:09 +09:00
6641299075 aliases/misc: Add aliases "ix", "xcopy", and "llm" 2022-02-22 18:50:09 +09:00
130d5610e2 Merge pull request #76 from RXT067:what-the-bash/pckm 2022-02-22 18:46:39 +09:00
16896830ef aliases/README: Describe the alias module "package-manager" 2022-02-22 18:43:38 +09:00
464b738533 aliases/package-manager: Introduce OMB_USE_SUDO and OMB_ALIAS_PACKAGE_MANAGER_SUDO 2022-02-22 18:43:38 +09:00
0646c47f30 aliases/package-manager: Use _omb_util_binary_exists for testing command existence 2022-02-22 18:43:38 +09:00
92823a2840 aliases/package-manager: Normalize indentation 2022-02-22 18:43:38 +09:00
aa5a3c3909 aliases/package-manager: Add aliases for package manager handling 2022-02-22 18:43:38 +09:00
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
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
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
a8971e3c7d lib/readlink: Add "_omb_util_readlink" 2022-02-05 21:08:00 +09:00