addet silent option
This commit is contained in:
parent
afa88a2146
commit
1c77bb58e3
1 changed files with 7 additions and 0 deletions
7
yazi.sh
7
yazi.sh
|
@ -100,6 +100,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if getImports; then
|
if getImports; then
|
||||||
|
case "$@" in
|
||||||
|
--silent | -s)
|
||||||
|
silent=true
|
||||||
|
echo_warning "Executing script silently.."
|
||||||
|
;;
|
||||||
|
*) silent=false ;;
|
||||||
|
esac
|
||||||
main
|
main
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue