Update .config/chezmoi/chezmoi.toml

Update .config/fish/config.fish
Update scripts/shells.sh
Update utils/helpers.sh
Update utils/packages
This commit is contained in:
Thomas Brasdefer 2024-12-20 02:57:31 +01:00
parent 79d131ca99
commit 72b8e700ec
Signed by: tombdf
GPG Key ID: A047E76CC4582988
5 changed files with 13 additions and 10 deletions

View File

@ -32,6 +32,7 @@ encryption = "age"
[git]
autoCommit = true
autoPush = true
commitMessageTemplatePath = "~/.gitmessage"
[git.commit]
gpgsign = true

View File

@ -28,6 +28,8 @@ if not set -q fish_inclusion
install_fisher_plugin ~/.config/fish/conf.d/autopair.fish jorgebucaran/autopair.fish
install_fisher_plugin ~/.config/fish/conf.d/sponge.fish meaningful-ooo/sponge
install_fisher_plugin ~/.config/fish/conf.d/abbr_tips.fish gazorby/fish-abbreviation-tips
install_fisher_plugin ~/.config/fish/conf.d/venv.fish nakulj/auto-venv
install_fisher_plugin ~/.config/fish/conf.d/color-manual.fish goranmoomin/fish-color-manual
theme_gruvbox dark soft

View File

@ -65,6 +65,10 @@ check_installation "sudo pacman -S --noconfirm --needed" "tealdeer"
echo -e "${BLUE}Installing Delta...${DEFAULT}"
check_installation "yay -S --noconfirm --needed" "git-delta"
# SSHS - A modern terminal user interface for ssh
echo -e "${BLUE}Installing SSHS...${DEFAULT}"
check_installation "yay -S --noconfirm --needed" "sshs"
# Changing the default shell to Fish
echo -e "${GREEN}Setting Fish as default shell...${DEFAULT}"
chsh -s $(which fish)

View File

@ -50,16 +50,6 @@ function check_installation() {
return 0
}
# Configuration backup function
function backup_config() {
local path=$1
if [ -e "$path" ]; then # Vérifie si le fichier ou le répertoire existe
local backup_path="${path}.backup.$(date +%Y%m%d_%H%M%S)"
echo -e "${BLUE}Backing up $path to $backup_path${DEFAULT}" | tee -a "$LOG"
mv "$path" "$backup_path"
fi
}
# Final system configuration
function setup_final() {
echo -e "${BLUE}Performing final system configuration...${DEFAULT}" | tee -a "$LOG"
@ -67,6 +57,11 @@ function setup_final() {
# Enable systemd services
systemctl --user enable --now pipewire.service
systemctl --user enable --now pipewire-pulse.service
# Import GPG keys
gpg --import $HOME/.gpg/public-keys.asc
gpg --import $HOME/.gpg/private-keys.asc
gpg --update-trustdb
# Setting up Vim plugins
echo -e "${GREEN}Installing Vim plugins...${DEFAULT}"

View File

@ -64,3 +64,4 @@ sd
topgrade
tealdeer
git-delta
sshs