From a297aa168fb011f3bd107f6a7e69ef9a9576109b Mon Sep 17 00:00:00 2001 From: nodiego Date: Fri, 23 Sep 2022 13:18:05 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'dotfiles/.zshrc'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotfiles/.zshrc | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 892ab29..b7d75cc 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -117,17 +117,17 @@ source $ZSH/oh-my-zsh.sh # Alias sauvegardes système archlinux (/etc, /var, /srv, pkg.list, aur.lit, pacman.database) ## sauvegarde de /etc -alias savetc="sudo tar -cjfv /mnt/Salva/salva-linux/salvalinux-system-archlinux/etc-backup.tar.bz2 /etc" +alias savetc="sudo tar -cjfv /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/etc-backup.tar.bz2 /etc" ## Sauvegarde de /var -alias savvar="sudo tar -cjfv /mnt/Salva/salva-linux/salvalinux-system-archlinux/var-backup.tar.bz2 /var" +alias savvar="sudo tar -cjfv /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/var-backup.tar.bz2 /var" ## Sauvegarde de /srv -alias savsrv="sudo tar -cjfv /mnt/Salva/salva-linux/salvalinux-system-archlinux/srv-backup.tar.bz2 /srv" +alias savsrv="sudo tar -cjfv /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/srv-backup.tar.bz2 /srv" ## Récupérer la liste des paquets installésrsys -alias savpkglist="sudo pacman -Qqe | grep -vx "$(pacman -Qqm)" > /mnt/Salva/salva-linux/salvalinux-system-archlinux/pkg.list" +alias savpkglist="sudo pacman -Qqe | grep -vx "$(pacman -Qqm)" > /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/pkg.list" ## Récupérer la liste des paquets AUR -alias savpkgaur="sudo pacman -Qqme > /mnt/Salva/salva-linux/salvalinux-system-archlinux/aur.list" +alias savpkgaur="sudo pacman -Qqme > /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/aur.list" ## Sauvegarde de la base de donnée locale de pacman (/var/lib/pacman/local/) -alias savpacdatabase="sudo tar -cjfv /mnt/Salva/salva-linux/salvalinux-system-archlinux/pacman-database.tar.bz2 /var/lib/pacman/local" +alias savpacdatabase="sudo tar -cjfv /mnt/Kiosko/SalvaKiosko/salvacharco-archlinux-terminal/pacman-database.tar.bz2 /var/lib/pacman/local" ## Alias résumé des commandes supra ## alias savtodo="savetc && savvar && savsrv && savpkglist && savpkaur && savpacdatabase" @@ -136,13 +136,13 @@ alias savtodo="savetc && savvar && savsrv && savpkglist && savpkaur && savpacdat # Alias rsync ## RSYNC de /Salva vers /Stock -alias rsyncsalvatostock="sudo rsync -aDv --info=progress2 --stats --delete /mnt/Salva/ /mnt/Stock/Sauvegardes/Disque\ Salva" +alias rsyncsalvatostock="sudo rsync -aADXv --info=progress2 --stats --delete /mnt/Salva/ /mnt/Stock/Sauvegardes/Disque\ Salva" ## RSYNC rsync de /Stock vers disque dur externe -alias rsyncstocktohdd="sudo rsync -aDv --info=progress2 --stats --delete /mnt/Stock/ /run/media/dondiego/hdd-stock-3Go/Disque Stock" +alias rsyncstocktohdd="sudo rsync --ADXv --info=progress2 --stats --delete /mnt/Stock/ /run/media/dondiego/hdd-stock-3Go/Disque Stock" -## RSYNC /timeshift vers /Stock -alias rsynctimeshifttostock="sudo rsync -aDv --info=progress2 --stats --delete /timeshift/ /mnt/Stock/Sauvegardes/Disque\ Salva/salva-linux/salvalinux-timeshift/" +## RSYNC /timeshift vers /Kiosko +alias rsynctimeshiftkiosko="sudo rsync -aADXv --info=progress2 --stats --delete /timeshift/ /mnt/Kiosko/SalvaKiosko/salvacharco-timeshift" # Alias pacman ## mise à jour de la liste des paquets disponibles sur les mirroirs @@ -154,6 +154,14 @@ alias pacmanqdt="sudo pacman -Qdt" # Alias divers ## relancer proprement Cinnamon -alias cinnrestart="cinnamon --replace --screen=0 -d :0 &" +alias cinnamonrestart="cinnamon --replace --screen=0 -d :0 &" ## configurer UFW -alias ufwconfig="sudo ufw default deny && sudo ufw allow from 192.168.0.0/24 && sudo ufw allow Deluge && sudo ufw limit ssh && sudo ufw enable" \ No newline at end of file +alias ufwconfig="sudo ufw default deny && sudo ufw allow from 192.168.0.0/24 && sudo ufw allow Deluge && sudo ufw limit ssh && sudo ufw enable" +## Configurer .conky +alias conkyconfig="nano ~/.config/conky/conky.conf" + +# Alias des configurations +alias zshrcconfig="nano ~/.zshrc" +alias ohmyzshconfig="nano ~/.oh-my-zsh" +alias p10kconfig="nano ~/.p10k.zsh" +alias mocconfig="nano ~/.moc/config" \ No newline at end of file