Michele Bologna
c08b925d28
fix(uninstall): abort uninstall if unable to change shell ( #10357 )
3 years ago
Marc Cornellà
e8716cb570
fix(uninstall): fix renaming .zshrc when no original rc file found
...
Fixes #9629
Fixes #9700
5 years ago
Giuseppe
4deafdff96
Fix change to old shell on uninstall ( #8430 )
...
If there's no `~/.shell.pre-oh-my-zsh`, don't assume the default choice
is Bash. In fact Zsh is the default shell for macOS since Catalina
(10.15) [1], yet users of other OSes have likely to have Bash as their
default.
This commit fix issue #8252
[1] https://support.apple.com/en-us/HT208050
6 years ago
Zach Whitten
2e54ba2dfb
installer: restore previous default shell with uninstall
...
Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
7 years ago
Andrew Janke
43b3126b5c
installer: use timestamped backups to preserve all old zshrcs
7 years ago
LE Manh Cuong
c25002a13f
Removing `source` command
11 years ago
LE Manh Cuong
53a63355be
Change coding style
11 years ago
LE Manh Cuong
45cd2df31f
Update uninstall.sh
...
- Need dot `.` for POSIX compliant instead of `source`
- Use modern syntax for command substitution
- Fix missing double quotes
11 years ago
Marc Cornellà
d06f4d0893
Fix backwards logic in uninstaller once and for all
...
Really this time :P
Fixes #4533
11 years ago
Marc Cornellà
4e42e1f7e1
Fix conditional in uninstall prompt
11 years ago
Marc Cornellà
b2010a0ae6
Fix syntax error in confirmation prompt of uninstall.sh
...
We need to use POSIX syntax. This file is no longer executed with zsh.
Fixes #4483 .
11 years ago
Rodrigo Chiossi
6b73f5ec75
Ask for confirmation before uninstall
...
Prompt the user before removing oh-my-zsh from the system
11 years ago
Andrew Janke
502f08b5e1
Add Cygwin support to installer.
...
* Balk at incompatible Windows/MSYS git
* Test for chsh presence before trying to use it
* Replace non-portable `[[ ... ]]` and `[ x = *pattern* ]` constructs
11 years ago
Probably Not
dfbafe6d58
Fixing conflict in install scripts
13 years ago
Robby Russell
e1f5c0c703
Adding an uninstaller tool
17 years ago