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:
parent
79d131ca99
commit
72b8e700ec
@ -32,6 +32,7 @@ encryption = "age"
|
||||
[git]
|
||||
autoCommit = true
|
||||
autoPush = true
|
||||
commitMessageTemplatePath = "~/.gitmessage"
|
||||
|
||||
[git.commit]
|
||||
gpgsign = true
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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"
|
||||
@ -68,6 +58,11 @@ function setup_final() {
|
||||
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}"
|
||||
vim -E -s -u "~/.vimrc" +PlugInstall +qall >/dev/null 2>&1
|
||||
|
||||
@ -64,3 +64,4 @@ sd
|
||||
topgrade
|
||||
tealdeer
|
||||
git-delta
|
||||
sshs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user