Ajout Menu selection

This commit is contained in:
lebartal committed 2026-01-24 14:07:22 +01:00
1 parent 840a7c3e6b
commit 06cadc6535
2 files changed
+68 -10

No files matched your search

+31 -8
View File
@@ -1,6 +1,29 @@
#!/bin/bash
set -eou pipefail
# Couleurs de texte (Foreground)
NOIR='\e[30m'
ROUGE='\e[31m'
VERT='\e[32m'
JAUNE='\e[33m'
BLEU='\e[34m'
VIOLET='\e[35m'
CYAN='\e[36m'
BLANC='\e[37m'
# Couleurs de fond (Background)
BG_NOIR='\e[40m'
BG_ROUGE='\e[41m'
BG_VERT='\e[42m'
BG_JAUNE='\e[43m'
# Styles
GRAS='\e[1m'
SOULIGNE='\e[4m'
RESET="\e[0m"
# -------------- FONCTIONS ---------------
function maj_depot
{
#Actualisation depots
@@ -104,9 +127,15 @@ function config_alias
echo "alias maj='nala full-upgrade && flatpak upgrade && mainline install-latest && update-grub'" >> ~/.zshrc
#Configuration des alias des commandes
# commande ll pour lister les fichier
echo "alias ll='lsd -ltr'" >> ~/.zshrc
echo "alias wget='http --download'" >> ~/.zshrc
echo "alias du='duf' " >> ~/.zshrc
# commande dl pour download
echo "alias dl ='http --download'" >> ~/.zshrc
# commande disque pour espace disque
echo "alias disque='duf' " >> ~/.zshrc
}
function config_zsh
@@ -114,9 +143,3 @@ function config_zsh
#Relancer la config de zsh
p10k configure
}
function test_fonction
{
clear
echo "TEST OK"
}