From d514e6d38b73d35e05157d4fb4e87158d315d60f Mon Sep 17 00:00:00 2001 From: sc-idevops Date: Fri, 12 Jan 2024 14:29:39 -0500 Subject: [PATCH] updated apps replaced tabs with spaces --- ddeps.sh | 17 ++++++++------- udeps.sh | 65 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 44 insertions(+), 38 deletions(-) diff --git a/ddeps.sh b/ddeps.sh index 8050393..a46edc3 100755 --- a/ddeps.sh +++ b/ddeps.sh @@ -35,18 +35,19 @@ sudo apt-get -my install \ trash-cli \ bat \ nala \ - duf + duf \ + tree read -n1 -p $'\nDoes this system need a ssh server?\n' REPLY - if [[ $REPLY == [Yy] ]]; then - sudo apt-get install openssh-server fail2ban - fi + if [[ $REPLY == [Yy] ]]; then + sudo apt-get install openssh-server fail2ban + fi read -n1 -p $'\nDoes this system have a GUI?\n' REPLY - if [[ $REPLY == [Yy] ]]; then + if [[ $REPLY == [Yy] ]]; then sudo apt-get install synaptic emacs vim-gtk3 - else - sudo apt-get install emacs-nox - fi + else + sudo apt-get install emacs-nox + fi #This section installs software outside apt dpkg_url https://github.com/dandavison/delta/releases/download/0.16.5/git-delta_0.16.5_amd64.deb diff --git a/udeps.sh b/udeps.sh index 9d6f7c1..8f84f39 100755 --- a/udeps.sh +++ b/udeps.sh @@ -13,39 +13,39 @@ function dpkg_url() { # installing base dependencies sudo apt-get -my install \ - git \ + git \ vim \ - stow \ - etckeeper \ - tmux \ - zsh \ - powerline\ - htop \ - mc \ - curl \ - aptitude \ - nnn \ - ack \ - fzf \ - ripgrep \ - grc \ - fd-find \ - ncdu \ - tree \ - neofetch \ + stow \ + etckeeper \ + tmux \ + zsh \ + powerline\ + htop \ + mc \ + curl \ + aptitude \ + nnn \ + ack \ + fzf \ + ripgrep \ + grc \ + fd-find \ + ncdu \ + tree \ + neofetch \ trash-cli \ nala read -n1 -p $'Does this system need a ssh server?\n' REPLY - if [[ $REPLY == [Yy] ]]; then - sudo apt-get install openssh-server fail2ban - fi + if [[ $REPLY == [Yy] ]]; then + sudo apt-get install openssh-server fail2ban + fi read -n1 -p $'\nDoes this system have a GUI?\n' REPLY - if [[ $REPLY == [Yy] ]]; then - sudo apt-get install synaptic emacs vim-gtk3 neovim-qt - else - sudo apt-get install emacs-nox - fi + if [[ $REPLY == [Yy] ]]; then + sudo apt-get install synaptic emacs vim-gtk3 + else + sudo apt-get install emacs-nox + fi release=`lsb_release -cs` if [[ $release == jammy ]]; then @@ -55,9 +55,14 @@ if [[ $release == jammy ]]; then btop else dpkg_url https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb - dpkg_url https://github.com/sharkdp/bat/releases/download/v0.22.1/bat_0.22.1_amd64.deb + dpkg_url https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_amd64.deb fi #This section installs software outside apt -dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.7.1/bottom_0.7.1_amd64.deb -dpkg_url https://github.com/dandavison/delta/releases/download/0.15.1/git-delta_0.15.1_amd64.deb || dpkg_url https://github.com/dandavison/delta/releases/download/0.15.1/git-delta-musl_0.15.1_amd64.deb +dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_amd64.deb +dpkg_url https://github.com/dandavison/delta/releases/download/0.16.5/git-delta_0.16.5_amd64.deb || dpkg_url https://github.com/dandavison/delta/releases/download/0.16.5/git-delta-musl_0.16.5_amd64.deb + +#install neovim +mkdir -v ~/bin +curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim +chmod u+x ~/bin/nvim