Problems with Bash Completion

Hi,
I recently noticed an odd new behavior of the bash-completion package.
For example:
Lets say there is folder called 'Downloads'. The oldd behavior was:
mv Dow[tab]
mv Downloads/
Now, it's like this:
mv Dow[tab]
mv Downloads
(with a space after 'Downloads')
It's annoying because, you can't get an ls output when pressing tab again.
Another example: Let's assume there is a file called 'some file.txt'
Old:
mv some[tab]
mv some\ file.txt
New:
mv some[tab]
mv some file.txt
Pretty annoying too. mv doesn't work anymore because of the space in the filepath.
Does anyone know how to fix this?

https://bbs.archlinux.org/viewtopic.php?id=113158

Similar Messages

  • CND problem with code-completion

    Hi,
    First of all I don't really know where to put this post about C++ Pack in NetBeans. I've read one post in which someone suggests that this section will be pretty close...
    Maybe someone here would be so kind and try to help me...
    I'm using Ubuntu 7.04 and I have a problem with code completion in NetBeans 5.5.1 CND and I'm a little bit frustrated right now....
    I installed Netbeans, then CND, Created new C++ Project. Added new source file, with #include <GL/glut.h> directive.
    Whole code was compiled without errors, and that's fine.
    There were some problems with linking but I've added "glut", "GL", "GLU" string to linker parameters in Project Properties.
    The main problem is the code assistant. When I'm hitting "glut" and press ctrl+space it shows functions from glut library but when I type "gl" (to type "glColor3ub...") and try to show the code completion pop-up it shows "No suggestions". The same thing is with GLU library.
    I've installed GL, GLU, glut libraries (they all sit calmly in /usr/include/GL).
    I've added the /usr/include and /usr/include/GL to C++ section.
    I think that the Netbeans is able to find those *.h files because, as I said before, the glut (and the glX) functions are shown properly but there is no sign of "gl" and "glu" FUNCTIONS in code completion (the #define values specified in gl.h and glu.h are on the list, but the functions aren't)...
    I don't have idea why glut and glX are working fine, and gl and glu aren't... If anyone have similar problem, know where to look for an answer or have some suggestions I would be much obliged...
    I've seen Eclipse CDT, Anjuta, kDevelop, Code::Blocks, VIM + icomplete... after checking them all there is only one decision - I want to use NetBeans CND. It's user-friendly, fast and I just like it. That's why I would really like to know why the code-completion isn't working in 100%...

    Vladimir,
    The glColor3ub function declaration is in gl.h file (which along with glu.h is included in glut.h).
    Thanks Maxim,
    In the matter of fact since yesterday I've been looking for the reason why the GL and GLU aren't indexed properly by the Netbeans CC and I've found something.
    The GLU library was indexed after deleting
    #include <GL/gl.h>directive. So it means that the gl.h library is messing up.
    I've checked whole file (gl.h) and noticed that the only part which is in conflict with NetBeans is this one:
    #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
    #  define GLAPI __attribute__((visibility("default")))
    #  define GLAPIENTRYI'm using GCC 4.1 so the expression value is 401, so the GLAPI define looks like the line above.
    gl.h is indexed properly by NetBeans when it is representing "extern", so it should look like
    #  define GLAPI externIt is working fine if you delete this part of gl.h or for example (which I've done) add predefined macro (or change the existing one)
    __GNUC_MINOR__=-200I know that it isn't very clean solution... I'm not happy with cheating NetBeans about the version of installed GCC but unfortunately I am not a specialist in GNU C so maybe someone would find more elegant solution.
    As far as I know the __attribute__ feature makes the GCC more verbose (warnings, errors) but I don't know how much functionality am I loosing in fact...
    Edit: Why the code tags aren't working? :/
    Message was edited by:
    Makula

  • Netcfg2 with bash-completion

    I've written a script to support bash completion for netcfg2.
    Here it is:
    http://fatcat.ftj.agh.edu.pl/~sitarzm/A … on/netcfg2
    Just download it and place it in /etc/bash_completion.d, log out and login again and give it a try.

    MAC!EK wrote:
    Since the script was quite old I replaced it with a new version on that site:
    http://fatcat.ftj.agh.edu.pl/~sitarzm/A … ion/netcfg
    or
    http://fatcat.ftj.agh.edu.pl/~sitarzm/A … on/netcfg2
    uastasi if you want the completion to work with 'n' command add a line at the end:
    complete -F _netcfg n
    Awesome, thank you :)

  • Problems with Auto Complete in v31.4.0

    Since upgrading to version 31.4.0, the auto-complete for the address field has not worked properly. The delay between address selection is much longer than in previous versions. In past versions I could usually type the first two characters and then immediately tab to the Subject line. Now I have to wait a beat or two after typing the first two character, then tab takes me to the next address field rather than the subject line. This has resulted in misaddressed messages and missing subject lines.

    hi Russ,
    i was trying to export a sequence of frames into compressor.
    since then i applied an update to FCP 10.0 and it is now working.
    thanks.
    Wasim.

  • Problems with slides completing

    When I import powerpoint slides they play completely when I
    hit the play button icon, but when I preview the project it cuts
    the slide off midway through. This goes for the audio as well. The
    timeline is set long enough for the slide to complete so I have no
    idea why this is happening. In addition, when I add audio and
    listen to it using the play button, all is well but when I preview
    the project, the audio is sped up so fast that it sounds like the
    chipmunks.... : - S Any help would be greatly appreciated!

    Hi,
    According to the description, I know that the SQL Server fails to validate the key provided during the “complete image” step.
    I suggest you try starting the ‘complete image’ from the installation media instead of starting it from the shortcut being created in the ‘prepare image’ step and see if the key validation will be a success.
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • Anyone have problems with auto complete on iTouch

    It is getting really annoying when I type a word correctly and the auto correct selects something else and when I post my word is mispelled thanks to Apple. Any way of getting around this or turning it off?

    All you an do is tap the x by the "wrong"  spelling and it should learn after a while.

  • Problem with ssh and bash-completion

    I and a co-worker are having a weird problem with ssh and bash-completion. We have a local config in .ssh/config with hosts we connect everyday. An example:
    host foo
    hostname foo.org
    user foobar
    host foobar
    hostname foobar.org
    user foobar
    When we try to type
    ssh foo<tab><tab>b<tab>
    the console just freeze and we can't type anything, everything we type is ignored, but after about 30 seconds the host is completed.
    This works a some time ago, so some upgrade make this happen. Anyone can reproduce this?

    quigybo wrote:
    Actually thinking about it, rather than using the semi-dodgy fix posted on the bug tracker, we can just test if the daemon is running since we are not on MacOS X. It is cleaner and 250 ms quicker.
    --- bash_completion.orig 2010-09-14 05:33:22.000000000 +0930
    +++ bash_completion 2010-09-14 05:45:04.000000000 +0930
    @@ -1316,10 +1316,12 @@
    # contains ";", it may mistify the result. But on Gentoo (at least),
    # -k isn't available (even if mentioned in the manpage), so...
    if type avahi-browse >&/dev/null; then
    - COMPREPLY=( "${COMPREPLY[@]}" $( \
    - compgen -P "$prefix$user" -S "$suffix" -W \
    - "$( avahi-browse -cpr _workstation._tcp 2>/dev/null | \
    - awk -F';' '/^=/ { print $7 }' | sort -u )" -- "$cur" ) )
    + if [ -n "$(pidof avahi-daemon)" ]; then
    + COMPREPLY=( "${COMPREPLY[@]}" $( \
    + compgen -P "$prefix$user" -S "$suffix" -W \
    + "$( avahi-browse -cpr _workstation._tcp 2>/dev/null | \
    + awk -F';' '/^=/ { print $7 }' | sort -u )" -- "$cur" ) )
    + fi
    fi
    # Add results of normal hostname completion, unless
    This is the same test as was used in bash-completion 1.1.
    Thanks  quigybo, I use your patch, the issue is gone
    Why does so many packages depends on Avahi? Maybe make it optdepends is
    enough?
    my laptop $ pacman -Qi avahi
    Required By : gnome-disk-utility gnome-vfs libcups mpd sane

  • Problem with dzen2 and bash

    I'm having a problem piping the date to dzen2 using the date command in a while loop in bash.
    In my startup script I have this line to start the panel and the script to pipe the info:
    statusbar | dzen2 -h $PANEL_HEIGHT -dock -ta l -title-name panel -fn $FONT -fg $PANEL_TEXT_LIGHT -bg $PANEL_BG &
    and then the statusbar script looks like this:
    while true ; do
    echo "$(date +%I:%M %p)"
    sleep 1
    done
    That isn't the complete statusbar script, but i've identified the date command as the problem. For whatever reason, when the date command is in the loop, there is no output to the panel, and if I monitor my system resources I can see that my computer's memory is getting used up extremely quickly. It seems like it spawning a bunch of instances of the script. I'm not extremely experienced with linux, and definitely not with bash, so I have absolutely no clue whats going on here.

    Raynman wrote:
    $ echo "$(date +%I:%M %p)"
    date: extra operand ‘%p’
    Try 'date --help' for more information.
    Edit: since you're basically saying you're a newbie (and this also probably fits better in the Newbie Corner), I'll add that you should put the formatting string in (single) quotes to turn it into a single argument.
    I'm not saying I'm a newbie at all. The issue occurs even without any parameters to the date command.

  • Bash-completion works only with X

    Hi,
    For a long time bash-completion has not been working for me in VC. This didn't change with numerous upgrades, so I think this must be due to some my local setting. In VC it doesn't work for any user and in X it works for all users, so it is most probably something system-wide that is causing this. I never touched any files owned by bash-completion package. I browsed through /etc/profile and /etc/profile.d/ but didn't find anything weird.
    Any clues where to fix this?
    Thanks!

    I've always had the same problem as the OP, just never got round to posting about it. A solution would make my systemctl aliases much more useful.
    @Trilby, you need the bash-completion package installed.
    Last edited by slithery (2015-01-06 21:50:34)

  • BASH completion problem

    i have "bash-completion" package installed but when i do this:
    $ xine
    and press TAB, it does not show me list of files. sometimes it shows the files but most of the times it does not. same with all others commands:
    $ rm -v
    here too it does not show any files, as i said sometimes it does but most of the times it does not. if i do
    $ cd
    and press TAB then it always shows the directories,. never fails with directories but not the same with files.
    what could be the problem ? i have no problems like this with ZSH.

    prim wrote:You have to run bash as a login shell.
    See http://bbs.archlinux.org/viewtopic.php?id=30205
    well i used "chsh" to change my login shell to BASH and when i tried to this script:
    if [[ -o login ]]; then
        echo "Welcomoe to BASH as login shell"
    else
        echo "NOPE..... NOPE.... NOPE..NOPE"
    fi
    i always get "NOPE...NOPE...."
    i use "rxvt-unicode" and my "~/.Xdefaults" file says this: 
    ! rxvt-unicode settings                                                                                                     
    urxvt*loginShell:               true                                                                                         
    urxvt*saveLines:               10000           
    i still do not undertsand my the tab-completion system doe snot work and why BASH is still not the login shell

  • I have problem with account that i can't make update or buy from app store There is massage appear in my payment page that i must contact with i tunes support to complete this transaction Please help me to fixe this problem as soon possible Hany hassan 00

    I have problem with account that i can't make update or buy from app store
    There is massage appear in my payment page that i must contact with i tunes support to complete this transaction
    Please help me to fixe this problem as soon possible
    Hany hassan
    0096597617317
    0096596677186
    Thank you

    You need to Contact iTunes Support...
    Apple  Support  iTunes Store  Contact Us

  • I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    http://www.apple.com/support/itunes/contact/

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Has anyone experienced problems with Mackeeper? I did not complete downloading this software. Yet, occasionally when on the internet, I will have the MacKeeper multi-colored circle replace my pointer. How do you deal with this?

    Welcome to Apple Support Communities
    Don't download MacKeeper. Users complain about this app and it damages OS X. Also, Mac OS X knows how to take care of itself, so you don't need any other cleaning application that may damage OS X. See > https://discussions.apple.com/docs/DOC-3691

  • I get the errer message "There is a problem with this windows installer package. A program required for this install to complete could not be run."

    I have Wondows Vista... I tried to upgrade to Itunes 10.5, and received an error orginially stating that I was trying to install a version older than the one I had.  I uninstalled all of itunes, and now I'm getting the error  message "there is a problem with this windows installer package.  Aprogram required for this install to complete could not be run.
    Help!  I have an IPhone, and I would like to get my Itunes upgraded so I can download the new Iphone software...
    Thanks!

    I have been in touch with Apple support in reference to my problem. We went through every solution available, and found no fix. The tech then suggested I contact Microsoft concerning this issue. I thought that suggestion was just to get me pointed somewhere but Apple. Boy was I wrong!! I contacted Microsoft, and was directed to a free download called Microsoft Fix. This program fixed something in the regisitor, and wala everything was fixed!! I now have I-Cloud and I-Tunes loaded and working well. So, if you can't install Apple Software and are running Window 7 you might give Microsoft Fix a try, it fixed my problem.....

Maybe you are looking for

  • I bought the wrong album

    I just bought the new "The Pack" album and it said "explicit" on it but it is totally censored. There are two of the same albums but one of them is probably the clean version even though it says explicit lyrics. How can I get my money back so I can p

  • My iPad is locked I have tried everything including backup

    Hi I would like to know if anyone can assist. My iPad is locked. I have tried suggestions ie using home button. Home button with on off button I have also backed up & restored iPad. It is still locked. The slide access does not work. Anyone got an an

  • Can you create playlists from network shared iTunes libraries?

    I have a file server in my basement running XP Pro SP2 which is set to share it's rather large iTunes Library. I also have a laptop which is set to look for shared libraries. That all works fine. I would LIKE to create playlists on the laptop FROM th

  • F-47 withhold tax user exit

    Hi all,   Please specify the user exit for withhold tax in f-47 Thanks & Regards, padmaja

  • Printer no longer prints in black only

    My printer just stopped printing in black.  Loaded a fresh blank ink cartridge and when it prints the allingment page there is no blank ink. Tried everything that HP doctor has as far as remedies and cleaning.  It will not print black ink anymore.  I