doc: how to install in /opt

This commit is contained in:
Michel 2023-10-04 16:14:42 +02:00
parent 6e50ca797e
commit ead57a3c30
2 changed files with 15 additions and 0 deletions

View File

@ -91,6 +91,7 @@ git apply --stat --apply 2604.patch
``` ```
sudo apt-get install kitty-terminfo sudo apt-get install kitty-terminfo
sh ~/.config/kitty/installer.sh sh ~/.config/kitty/installer.sh
sudo sh ~/.config/kitty/installer.sh launch=n dest=/opt
``` ```
**Note**: **Note**:
@ -100,6 +101,19 @@ So it is more coherent/simpler to copy this behaviour into Zsh.
## lazygit ## lazygit
### Binary Releases
```
LOCATION=$(curl -s https://api.github.com/repos/jesseduffield/lazygit/releases/latest \
| grep "browser_download_url.*Linux_x86_64" \
| awk '{ print $2 }' \
| sed 's/,$//' \
| sed 's/"//g')
echo $LOCATION
wget $LOCATION
tar xf *.tar.gz(om[1])
```
### Go ### Go
``` ```

1
.zshrc
View File

@ -22,6 +22,7 @@ path=(
$HOME/.local/bin $HOME/.local/bin
$HOME/.local/*/bin $HOME/.local/*/bin
$HOME/go/bin $HOME/go/bin
/opt/*/bin
$path) $path)
setopt nonullglob setopt nonullglob