mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-20 12:36:19 +00:00
feat(iterm2): install to macOS /Applications/ rather than ~/Applications/ (works better)
This commit is contained in:
+12
-1
@@ -5,6 +5,17 @@ tagline: |
|
||||
iTerm2: a terminal emulator for macOS that does amazing things.
|
||||
---
|
||||
|
||||
To update versions, use iTerm2's built-in software update.
|
||||
|
||||
### Files
|
||||
|
||||
These are the files / directories that are created and/or modified with this
|
||||
install:
|
||||
|
||||
```text
|
||||
/Applications/iTerm.app/
|
||||
```
|
||||
|
||||
## Cheat Sheet
|
||||
|
||||
> The only bad thing about iTerm2 is that it's so seamless and intuitive that
|
||||
@@ -22,7 +33,7 @@ iTerm2 supports a lot of nifty features, including:
|
||||
- GPU-accelerated
|
||||
|
||||
**Important**: Unlike most packages, iTerm2 will be installed to
|
||||
`~/Applications`.
|
||||
`/Applications`.
|
||||
|
||||
### How to make the best of iTerm2
|
||||
|
||||
|
||||
+4
-4
@@ -25,11 +25,11 @@ _install_iterm2() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d ~/Applications/iTerm.app ]; then
|
||||
mv ~/Applications/iTerm.app "${WEBI_TMP}/iTerm.app-webi.bak"
|
||||
if [ -d /Applications/iTerm.app ]; then
|
||||
mv /Applications/iTerm.app "${WEBI_TMP}/iTerm.app-webi.bak"
|
||||
fi
|
||||
mkdir -p ~/Applications/
|
||||
mv "${WEBI_TMP}/iTerm.app" ~/Applications/
|
||||
mkdir -p /Applications/
|
||||
mv "${WEBI_TMP}/iTerm.app" /Applications/
|
||||
}
|
||||
|
||||
_install_iterm2
|
||||
|
||||
Reference in New Issue
Block a user