1
0
This commit is contained in:
Jeff Lance 2024-03-01 13:39:14 +01:00
parent 6cd7173fe6
commit aec8a524fd
5 changed files with 35 additions and 23 deletions

View File

@ -1,7 +1,6 @@
[".zim/zimfw.zsh"]
type = "file"
url = "https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh"
exact = true
[".asdf"]
type = "git-repo"
url = "https://github.com/asdf-vm/asdf.git"
refreshPeriod = "168h"
[".config/ranger/plugins/ranger_udisk_menu"]
@ -39,4 +38,11 @@
url = "https://github.com/tmux-plugins/tpm.git"
refreshPeriod = "168h"
[".zim/zimfw.zsh"]
type = "file"
url = "https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh"
exact = true
refreshPeriod = "168h"

View File

@ -76,7 +76,7 @@ packages=(
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
sudo -E apt update -qq
sudo -E apt upgrade --yes -qq
sudo -E apt-get install --yes --no-install-recommends --ignore-missing -qq mist
sudo -E apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq mist
{{- else }}
apt-get install --yes --no-install-recommends --ignore-missing -qq lsb-release gpg
curl -fsSL 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null
@ -85,32 +85,32 @@ packages=(
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | tee /etc/apt/sources.list.d/prebuilt-mpr.list
apt update -qq
apt upgrade --yes -qq
apt-get install --yes --no-install-recommends --ignore-missing -qq mist
apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq mist
{{- end}}
mist update
## Install packages
packages=(${packages[@]//starship/makedeb})
packages+=(
apt-utils
autoconf
automake
cmake
doxygen
libtool
libtool-bin
ninja-build
pkg-config
)
## packages+=(
## apt-utils
## autoconf
## automake
## cmake
## doxygen
## libtool
## libtool-bin
## ninja-build
## pkg-config
## )
for package in ${packages[@]}; do
inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }}
sudo -E apt-get install --yes --no-install-recommends --ignore-missing -qq $package
sudo -E apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- else }}
apt-get install --yes --no-install-recommends --ignore-missing -qq $package
apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- end }}
done

View File

@ -59,9 +59,9 @@ log "Begin Zsh installation"
inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }}
sudo -E apt-get install --yes --no-install-recommends --ignore-missing -qq $package
sudo -E apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- else }}
apt-get install --yes --no-install-recommends --ignore-missing -qq $package
apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- end }}
done

View File

@ -64,9 +64,9 @@ log "Begin LVim installation"
inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }}
sudo -E apt-get install --yes --no-install-recommends --ignore-missing -qq $package
sudo -E apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- else }}
apt-get install --yes --no-install-recommends --ignore-missing -qq $package
apt-get install --yes --no-install-recommends --ignore-missing --fix-broken -qq $package
{{- end }}
done

View File

@ -24,6 +24,10 @@ zmodule zsh-users/zsh-autosuggestions
# Productivity
#
# Sets up asdf, with auto install and optimized usage of the direnv plugin.
zmodul asdf
# chezmoi
joke/zim-chezmoi
# Provides handy git aliases and functions.
zmodule git
# Sets a custom terminal title.
@ -34,6 +38,8 @@ zmodule archive
zmodule manjaro
# Personal aliases
zmodule jl-helper
# starship
joke/zim-starship
# sudo module
zmodule sudo
# Utility aliases and functions. Adds colour to ls, grep and less.