diff options
author | lucasskvn <lucas.sangkhavongs@epitech.eu> | 2025-07-07 14:49:21 +0200 |
---|---|---|
committer | lucasskvn <lucas.sangkhavongs@epitech.eu> | 2025-07-07 14:49:21 +0200 |
commit | d7302236417e3e88a715583f286e218493199dd3 (patch) | |
tree | 77d6f9163ca4d99f76ce69db7ec780519da298fb /webtech |
init
Diffstat (limited to 'webtech')
-rwxr-xr-x | webtech | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,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 |