feat(iterm2): install to macOS /Applications/ rather than ~/Applications/ (works better)

This commit is contained in:
AJ ONeal
2023-02-22 08:10:15 +00:00
parent a782c32d59
commit 4678e04654
2 changed files with 16 additions and 5 deletions
+12 -1
View File
@@ -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
View File
@@ -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