From ead57a3c302fc6b3910fa961f2f479bebeddfeaf Mon Sep 17 00:00:00 2001 From: Michel Date: Wed, 4 Oct 2023 16:14:42 +0200 Subject: [PATCH] doc: how to install in /opt --- .README.md | 14 ++++++++++++++ .zshrc | 1 + 2 files changed, 15 insertions(+) diff --git a/.README.md b/.README.md index ebf2043..c7d7022 100644 --- a/.README.md +++ b/.README.md @@ -91,6 +91,7 @@ git apply --stat --apply 2604.patch ``` sudo apt-get install kitty-terminfo sh ~/.config/kitty/installer.sh +sudo sh ~/.config/kitty/installer.sh launch=n dest=/opt ``` **Note**: @@ -100,6 +101,19 @@ So it is more coherent/simpler to copy this behaviour into Zsh. ## 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 ``` diff --git a/.zshrc b/.zshrc index 9597fd3..d680ddb 100644 --- a/.zshrc +++ b/.zshrc @@ -22,6 +22,7 @@ path=( $HOME/.local/bin $HOME/.local/*/bin $HOME/go/bin + /opt/*/bin $path) setopt nonullglob