1
0
Fork 0
forked from ahurac/dotfiles

Ajout : fonction restart

This commit is contained in:
Hippolyte Chauvin 2023-05-12 14:59:13 +02:00
parent 8b75035416
commit 7048212823

View file

@ -65,6 +65,11 @@ stop() {
fi
}
restart() {
stop
start
}
# Argument parsing
set -e; trap 'set +e; error "$error" "$?"' EXIT
error="You must give an argument"