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:
François Revol 2008-05-20 00:42:32 +00:00
parent 4af535b0aa
commit cc9020e51d

View File

@ -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