Hi,

on Ubuntu 12.04 LTS I've found a simple bug in the cd() command.
global version 5.7.1-2 Architecture: amd64

That part of the 'code':

cd()
{
    builtin cd $*
    __gtags_prompt
}

Need to be changed in :
cd() {
    builtin cd "$*"
    __gtags_prompt
}

Otherwise if you use globash and you have a directory with space in it you
are not able to cd in it.

Example:
$ mkdir "directory with space"
$ globash
$ cd "directory with space"

Without the fix, you can't change directory.

Many thanks,
R.





-- 
Roberto Martelloni
boos @ http://boos.core-dumped.info
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to