updated with lazygit/lazyvim deps
This commit is contained in:
parent
831d2dd0b7
commit
09151aff2e
1 changed files with 24 additions and 14 deletions
22
udeps.sh
22
udeps.sh
|
@ -7,8 +7,14 @@ function dpkg_url() {
|
||||||
|
|
||||||
wget -q --show-progress -O $tmp_deb $src_url &&
|
wget -q --show-progress -O $tmp_deb $src_url &&
|
||||||
sudo dpkg -i $tmp_deb $args &&
|
sudo dpkg -i $tmp_deb $args &&
|
||||||
{ rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file
|
{
|
||||||
{ rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway
|
rm -f $tmp_deb
|
||||||
|
true
|
||||||
|
} || # commands above succeeded, remove tmp file
|
||||||
|
{
|
||||||
|
rm -f $tmp_deb
|
||||||
|
false
|
||||||
|
} # commands above failed, remove tmp file anyway
|
||||||
}
|
}
|
||||||
|
|
||||||
# installing base dependencies
|
# installing base dependencies
|
||||||
|
@ -19,8 +25,7 @@ sudo apt -my install \
|
||||||
etckeeper \
|
etckeeper \
|
||||||
tmux \
|
tmux \
|
||||||
zsh \
|
zsh \
|
||||||
powerline\
|
powerline htop \
|
||||||
htop \
|
|
||||||
mc \
|
mc \
|
||||||
curl \
|
curl \
|
||||||
aptitude \
|
aptitude \
|
||||||
|
@ -37,9 +42,9 @@ sudo apt -my install \
|
||||||
libfuse2 \
|
libfuse2 \
|
||||||
make \
|
make \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
lua5.2
|
lua5.1
|
||||||
|
|
||||||
release=`lsb_release -cs`
|
release=$(lsb_release -cs)
|
||||||
if [[ $release == jammy || $release == noble ]]; then
|
if [[ $release == jammy || $release == noble ]]; then
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
bat \
|
bat \
|
||||||
|
@ -63,3 +68,8 @@ dpkg_url https://github.com/bootandy/dust/releases/download/v1.1.2/du-dust_1.1.2
|
||||||
dpkg_url https://github.com/charmbracelet/glow/releases/download/v2.1.0/glow_2.1.0_amd64.deb
|
dpkg_url https://github.com/charmbracelet/glow/releases/download/v2.1.0/glow_2.1.0_amd64.deb
|
||||||
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
|
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
|
||||||
|
|
||||||
|
echo "Install lazygit"
|
||||||
|
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
|
||||||
|
sudo install lazygit -D -t /usr/local/bin/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue