qemush : alias pour ls

This commit is contained in:
Hippolyte Chauvin 2023-11-29 14:42:47 +01:00
parent c09ea3ec38
commit 21643ed7f8

View file

@ -8,8 +8,12 @@ fi
bin=bin
images=images
PATH="./${bin}:${PATH}"
alias ls='ls --color=auto'
shopt -s expand_aliases
perror() {
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
}
@ -56,7 +60,7 @@ public_active() {
public_ls() {
echo "Available machines:"
ls --color=auto "$bin"
ls "$bin"
}
diskpath() {
@ -73,7 +77,7 @@ public_diskrm() {
public_diskls() {
echo "Available disks:"
ls --color=auto "$images"
ls "$images"
}
public_edit() {