updates
This commit is contained in:
parent
cfcdf95814
commit
5b0216753e
5 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
# find next entry in PATH for wrapper scripts
|
||||
# Usage: next-in-path <program name> <current $0>
|
||||
typeset -U path
|
||||
next-in-path() {
|
||||
entries=( $(which -a $1) )
|
||||
index=${entries[(ie)$2]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue