99763849a1
tools/uninstall: Make the uninstall script POSIX compliant
2023-02-22 22:15:20 +09:00
773efb25e0
tools/upgrade: Apply the same changes as "tools/install.sh"
2023-02-22 22:12:13 +09:00
46ee30ced3
tools: Make the style of conditional command more consistent
2023-02-22 22:12:13 +09:00
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
59f6ef145b
global: Switch the function-declarations to avoid unexpected alias expansions
2023-02-10 00:38:56 +09:00
f6597af711
tools/install: create "~/.bash_profile" if it doesn't exist
2023-02-05 22:14:03 +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
575535636a
tools/install: Accept the repository URL through env "OSH_REPOSITORY"
2022-10-07 19:45:11 +09:00
14df64e381
tools: import "bash-preexec" from the upstream
2022-10-02 11:18:34 +09:00
d5e9c7deb1
tools/install: Refactor "{hash => type -P}"
2022-08-23 18:09:56 +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
2df8a256f1
tools/install: support "--prefix" for the system-wide installation
2022-07-04 14:06:10 +09:00
cb7238fb8f
tools/install: update the commandline help
2022-06-12 18:30:11 +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
20fa827b89
completions/git: Move the upstream git-completion to subdir "tools"
2022-02-05 13:17:02 +09:00
5e9c2d99f0
tools/install: Update the error message for the Bash version
2022-02-04 20:27:06 +09:00
e58334b1df
tools/upgrade: Print instructions on upgrading failures
2022-01-31 19:34:44 +09:00
7dce520857
oh-my-bash: support OMB_VERSION and OMB_VERSINFO
2022-01-19 15:50:18 +09:00
5eaf1a25a4
tools/install: Recommend updating Bash version to 4 or higher
...
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-01-19 15:48:54 +09:00
16712a41c5
tools/upgrade: Enable upgrading/(un)installing in the interactive shell process
2022-01-15 19:15:09 +09:00
bf6960f347
tools/upgrade: Adjust shell quoting
2022-01-12 18:30:28 +09:00
463b9c3b8c
tools/upgrade: Return to the original working directory after upgrading
...
Co-authored-by: Rex Roof <github@rexroof.com>
2022-01-12 18:30:28 +09:00
1543bc9d4a
tools/uninstall: Do not overwrite backup bashrcs
...
Co-authored-by: Alexandre Alessi <alexpfba@gmail.com>
2022-01-08 15:41:07 +09:00
cafb35836e
tools/uninstall: Remove "chsh -s /bin/bash"
...
The code is originated from the uninstallation script for ohmyzsh,
which switches the default shell from Bash to Zsh in its installation.
Oh-my-bash does not change the default shell in its installation, so
there is no need to change it back to /bin/bash in the uninstallation.
2022-01-08 15:41:07 +09:00
e6a15f25cc
tools/install: Support a new option "--unattended"
2022-01-05 19:34:16 +09:00
636f48dfc4
install: Refactor install.sh
...
Now the script uses logging functions.
2022-01-05 02:06:48 +09:00
5421f3a342
tools/install: Update the Bash-version check
2021-12-29 09:02:42 +09:00
703e2864d4
tools/install: Use condtional command
2021-12-29 09:02:39 +09:00
c22b97e09a
tools/{,un}install: Quote arguments properly
2021-12-29 09:02:36 +09:00
b9b2c58c48
tools/install: Fix Bash version check
2021-12-29 09:02:32 +09:00
39c9598081
tools/install: Add support termcap-based tput
2021-12-29 09:02:29 +09:00
4941d657dc
tools/autossh: Bypass all shellcheck
2020-03-12 09:29:39 +11:00
697d0d062c
tools/autossh.sh
...
This is a small script which allows you reconnect to SSH automatically without installing a package like `mosh-server`
2020-03-12 08:13:46 +11:00
e66772ba24
Fix to check bash version before install ( #28 )
...
* Fix to check bash version before install
* Fix for non-zero exit status
2018-08-13 16:29:04 +10:00
b6b3fbfe5d
Fix init shell after installed
2017-11-08 16:01:23 +11:00
6dd590ba8b
Fix init shell after installed
2017-11-08 15:52:57 +11:00
b85f75f798
Fix few issues & improve framework functionality
...
- Fixed LSCOLORS from theme-and-appearance.sh
- Fixed ii() command in core plugin
- Stop using .bashrc as Oh-My-Bash profile, use .bash_profile instead
- Automate backport new version for old version users
- Added .editorconfig for future contribution
2017-11-08 15:25:22 +11:00
7b7e0c8c67
Fix repository URL
2017-10-10 18:13:21 +07:00
e65c390bfa
Improve oh-my-bash functionality
...
* Implement aliases, completion in oh-my-bash
* Added default themes from Bash-it
* Fixed few issues
2017-10-10 18:07:01 +07:00
ea1c9371e1
Added shebash line and fix some issues
2017-03-20 19:51:00 +07:00
78585ff01b
Reload bash config after install/ update
2017-03-19 16:13:33 +07:00
adc673b02a
Initial Oh My Bash framework
2017-03-19 15:40:25 +07:00