summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-10 11:56:58 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-10 11:56:58 +0900
commit00f2329c7f8759d56b59404138b58d4a18db75ce (patch)
tree9d5c1e6f130d11c3db694f8aa85e0d90f348b1ea
parent923d659f52a7a7a7c87b8c1f9a19fd7f4be89392 (diff)
Init
-rwxr-xr-xstatic/thesiah-debian.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/static/thesiah-debian.sh b/static/thesiah-debian.sh
index 53f5f71..4f560d9 100755
--- a/static/thesiah-debian.sh
+++ b/static/thesiah-debian.sh
@@ -133,20 +133,21 @@ vimplugininstall() {
}
lfinstall() {
- env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest
+ env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest || return
}
zoxideinstall() {
git clone https://github.com/ajeetdsouza/zoxide.git
cd zoxide
./install.sh
- cd /tmp
+ cd /tmp || return
}
nviminstall() {
latest_version=$(curl -s https://api.github.com/repos/neovim/neovim/releases/latest | grep -o '"tag_name": ".*"' | cut -d'"' -f4)
download_url="https://github.com/neovim/neovim/releases/download/$latest_version/nvim.appimage"
curl -LO "$download_url"
+ mv nvim.appimage /usr/bin/nvim || return
}
addsudo() {