Fix completion when DEVROOT contains more than 1 folder, like on linux accounts on ~/devel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25570 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4af535b0aa
commit
cc9020e51d
2
3rdparty/mmu_man/scripts/dev-perso
vendored
2
3rdparty/mmu_man/scripts/dev-perso
vendored
@ -67,7 +67,7 @@ export PASSWDS
|
||||
|
||||
function dev() {
|
||||
if [ $# -lt 1 ]; then
|
||||
ls $DEVROOT/*/.profile | cut -d / -f 3
|
||||
ls $DEVROOT/*/.profile | sed 's,.*/\([^/]*\)/.profile,\1,'
|
||||
return 0
|
||||
fi
|
||||
if [ "x$1" = "x--help" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user