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"] [".asdf"]
type = "file" type = "git-repo"
url = "https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh" url = "https://github.com/asdf-vm/asdf.git"
exact = true
refreshPeriod = "168h" refreshPeriod = "168h"
[".config/ranger/plugins/ranger_udisk_menu"] [".config/ranger/plugins/ranger_udisk_menu"]
@ -39,4 +38,11 @@
url = "https://github.com/tmux-plugins/tpm.git" url = "https://github.com/tmux-plugins/tpm.git"
refreshPeriod = "168h" 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 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 update -qq
sudo -E apt upgrade --yes -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 }} {{- else }}
apt-get install --yes --no-install-recommends --ignore-missing -qq lsb-release gpg 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 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 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 update -qq
apt upgrade --yes -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}} {{- end}}
mist update mist update
## Install packages ## Install packages
packages=(${packages[@]//starship/makedeb}) packages=(${packages[@]//starship/makedeb})
packages+=( ## packages+=(
apt-utils ## apt-utils
autoconf ## autoconf
automake ## automake
cmake ## cmake
doxygen ## doxygen
libtool ## libtool
libtool-bin ## libtool-bin
ninja-build ## ninja-build
pkg-config ## pkg-config
) ## )
for package in ${packages[@]}; do for package in ${packages[@]}; do
inf "installing ${package}..." inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }} {{- 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 }} {{- 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 }} {{- end }}
done done

View File

@ -59,9 +59,9 @@ log "Begin Zsh installation"
inf "installing ${package}..." inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }} {{- 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 }} {{- 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 }} {{- end }}
done done

View File

@ -64,9 +64,9 @@ log "Begin LVim installation"
inf "installing ${package}..." inf "installing ${package}..."
{{- if ne .chezmoi.username "root" }} {{- 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 }} {{- 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 }} {{- end }}
done done

View File

@ -24,6 +24,10 @@ zmodule zsh-users/zsh-autosuggestions
# Productivity # 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. # Provides handy git aliases and functions.
zmodule git zmodule git
# Sets a custom terminal title. # Sets a custom terminal title.
@ -34,6 +38,8 @@ zmodule archive
zmodule manjaro zmodule manjaro
# Personal aliases # Personal aliases
zmodule jl-helper zmodule jl-helper
# starship
joke/zim-starship
# sudo module # sudo module
zmodule sudo zmodule sudo
# Utility aliases and functions. Adds colour to ls, grep and less. # Utility aliases and functions. Adds colour to ls, grep and less.