forked from Shinonome/dots-hyprland
Update showfun()
This commit is contained in:
@@ -62,7 +62,7 @@ function x(){
|
|||||||
function showfun(){
|
function showfun(){
|
||||||
echo -e "${STY_BLUE}[$0]: The definition of function \"$1\" is as follows:${STY_RST}"
|
echo -e "${STY_BLUE}[$0]: The definition of function \"$1\" is as follows:${STY_RST}"
|
||||||
printf "${STY_GREEN}"
|
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}"
|
printf "${STY_RST}"
|
||||||
}
|
}
|
||||||
function pause(){
|
function pause(){
|
||||||
@@ -290,4 +290,4 @@ function check_disk_space() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Executable → Regular
Reference in New Issue
Block a user