mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-13 08:30:08 +00:00
Add missing function
This commit is contained in:
parent
d83aacfb3f
commit
0207182eb9
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ trim() {
|
||||||
set +f
|
set +f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trim_quotes() {
|
||||||
|
trim_output="${1//\'}"
|
||||||
|
trim_output="${trim_output//\"}"
|
||||||
|
printf "%s" "$trim_output"
|
||||||
|
}
|
||||||
|
|
||||||
get_ppid() {
|
get_ppid() {
|
||||||
# Get parent process ID of PID.
|
# Get parent process ID of PID.
|
||||||
case "$os" in
|
case "$os" in
|
||||||
|
|
Loading…
Reference in a new issue