Commit Graph

14 Commits

Author SHA1 Message Date
Koichi Murase
5b0e804c6b tools/uninstall: Pass -v to unset to avoid ambiguity
`unset -v` is standardized in POSIX.
2023-08-01 17:42:28 +09:00
Koichi Murase
06b459e81f tools/uninstall: Fix uninstall confirmation in non-Bash 2023-08-01 17:42:28 +09:00
Edwin Kofler
6fe0adcc0a style(tools/uninstall): Correctly restore IFS
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-04-16 17:48:22 +09:00
Koichi Murase
99763849a1 tools/uninstall: Make the uninstall script POSIX compliant 2023-02-22 22:15:20 +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
59f6ef145b global: Switch the function-declarations to avoid unexpected alias expansions 2023-02-10 00:38:56 +09:00
Koichi Murase
16712a41c5 tools/upgrade: Enable upgrading/(un)installing in the interactive shell process 2022-01-15 19:15:09 +09:00
Koichi Murase
1543bc9d4a tools/uninstall: Do not overwrite backup bashrcs
Co-authored-by: Alexandre Alessi <alexpfba@gmail.com>
2022-01-08 15:41:07 +09:00
Koichi Murase
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
Koichi Murase
c22b97e09a tools/{,un}install: Quote arguments properly 2021-12-29 09:02:36 +09:00
Toan Nguyen
b6b3fbfe5d Fix init shell after installed 2017-11-08 16:01:23 +11:00
Toan Nguyen
6dd590ba8b Fix init shell after installed 2017-11-08 15:52:57 +11:00
Toan Nguyen
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
Toan Nguyen
adc673b02a Initial Oh My Bash framework 2017-03-19 15:40:25 +07:00