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:
Vendored
+1
-1
@@ -67,7 +67,7 @@ export PASSWDS
|
|||||||
|
|
||||||
function dev() {
|
function dev() {
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
ls $DEVROOT/*/.profile | cut -d / -f 3
|
ls $DEVROOT/*/.profile | sed 's,.*/\([^/]*\)/.profile,\1,'
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [ "x$1" = "x--help" ]; then
|
if [ "x$1" = "x--help" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user