qemush : alias pour ls
This commit is contained in:
parent
c09ea3ec38
commit
21643ed7f8
1 changed files with 6 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue