Update showfun()

This commit is contained in:
clsty
2025-10-19 06:53:23 +08:00
parent e49426c027
commit b8a1955ab9
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ function x(){
function showfun(){
echo -e "${STY_BLUE}[$0]: The definition of function \"$1\" is as follows:${STY_RST}"
printf "${STY_GREEN}"
type -a "$1" 2>/dev/null || type -a "$1".sh 2>/dev/null || return 1
type -a "$1" 2>/dev/null || return 1
printf "${STY_RST}"
}
function pause(){
@@ -290,4 +290,4 @@ function check_disk_space() {
fi
return 0
}
}
Executable → Regular
View File