blob: 4c868bad86f68ef0048795f164cc7bb9e91900b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
if [ $1 == cstyle ];
then
firefox https://intra.epitech.eu/file/public/technical-documentations/C/epitech_c_coding_style.pdf
clear
elif [ $1 == intra ];
then
firefox https://intra.epitech.eu/
clear
elif [ $1 == mouli ];
then
firefox my.epitech.eu
else
# Récupérer le nom du répertoire courant
DIR_NAME=$(basename "$PWD")
# Construire l'URL
URL="https://github.com/EpitechPGEPromo2029/${DIR_NAME}/tree/main"
# Ouvrir l'URL dans Firefox
firefox "$URL"
clear
fi
|