Runtime improvements #5

Merged
lachtan merged 2 commits from local-bin into master 2025-04-24 13:19:14 +02:00
2 changed files with 13 additions and 0 deletions

10
install/lazygit.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -x
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
install lazygit -D -t $HOME/.local/bin/
rm lazygit.tar.gz
rm lazygit

View File

@@ -1,6 +1,9 @@
export PAGER=less
export EDITOR=vim
source_try "$HOME/.local/bin/env"
prepend_path_try "$HOME/.local/bin"
if can_run bat && ! is_alias bat; then
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi