1
0
Fork 0
forked from ahurac/dotfiles

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