Skip to content

Commit d9dd1e4

Browse files
author
rking
committed
Use expr instead of ${sub:str:ing} (older zsh's don't like this - v4.3.10 being one of them)
1 parent d12c738 commit d9dd1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tracefuncs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function ...die {
6565

6666
...fully-qualify() {
6767
local fn="$@"
68-
[[ ${fn:0:1} != / ]] && fn=`pwd`/$fn
68+
expr $fn : / || fn=`pwd`/$fn
6969
echo $fn
7070
}
7171

0 commit comments

Comments
 (0)