aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/bd.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/bd.bash')
-rw-r--r--bash/bashrc.d/bd.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash
index 8df18907..e856fc40 100644
--- a/bash/bashrc.d/bd.bash
+++ b/bash/bashrc.d/bd.bash
@@ -12,7 +12,8 @@ bd() {
if [[ -d $dir ]] ; then
builtin cd -- "$dir"
else
- printf 'bash: No dir found in PWD named %s\n' "$1" >&2
+ printf 'bash: %s: No dir found in PWD named %s\n' \
+ "$FUNCNAME" "$1" >&2
return 1
fi
}