diff options
Diffstat (limited to 'bash/bashrc.d/bd.bash')
-rw-r--r-- | bash/bashrc.d/bd.bash | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash index 8ab3cd5e..10c9161d 100644 --- a/bash/bashrc.d/bd.bash +++ b/bash/bashrc.d/bd.bash @@ -30,9 +30,8 @@ bd() { ;; # Anything else with a leading / needs to anchor to the start of the - # path, strip off any trailing slash + # path /*) - dir=${req%/} if [[ ${PWD%*/} != "$dir"/* ]] ; then printf 'bash: %s: Directory name not in path\n' \ "$FUNCNAME" >&2 |