summaryrefslogtreecommitdiff
path: root/static/thesiah-debian.sh
diff options
context:
space:
mode:
Diffstat (limited to 'static/thesiah-debian.sh')
-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() {