aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-09 10:22:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-09 10:22:53 +1200
commit4f4f9ff93a8248159478bd18627b9a4815e96ada (patch)
tree2bf3e5801d9385c35e5d1704d2f65debf6b34608 /pdksh
parentChange "local" to "typeset" for ksh prompt (diff)
downloaddotfiles-4f4f9ff93a8248159478bd18627b9a4815e96ada.tar.gz
dotfiles-4f4f9ff93a8248159478bd18627b9a4815e96ada.zip
Remove bash-specific $FUNCNAME from pdksh prompt
I can't find any equivalent in the pdksh manual; a fixed string will be fine for now.
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/kshrc.d/prompt.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh
index 28a7c9fd..29c8f93a 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/kshrc.d/prompt.ksh
@@ -106,7 +106,7 @@ prompt() {
# Print error
*)
- printf '%s: Unknown command %s\n' "$FUNCNAME" "$1" >&2
+ printf 'prompt: Unknown command %s\n' "$1" >&2
return 2
;;