Anything related to automatic completion of path/file/folder names or commands such as the ones provided by bash-completion package

learn more… | top users | synonyms

0
votes
0answers
18 views

tab complete after CLI install

I have a silly question, but its driving me bonkers. In my terminal, after I sudo apt-get install xxxx I can never tab-complete that software after its installed. I have to open a new terminal then ...
1
vote
1answer
61 views

How to make my ubuntu auto-shutdown after successful update?

Using a EDGE for update is really not cool but i have to. So my update always runs in night when i go to sleep. Is there any way to set ubuntu to auto-shutdown after completion of update. Note: I ...
0
votes
0answers
15 views

Oh-My-ZSH Autocomplete Script append '/' (Forward-Slash) to completion

I'm trying to create an autocomplete plugin for Oh-My-ZSH, everything works fine except on hitting TAB the completion is followed by numbers of / . Here are the codes that I currently have: local ...
2
votes
1answer
62 views

Autocomplete while compiling a file with c++ is gone

I am using Ubuntu 13.04 and have been programming mostly in C++. I use vim editor and c++ command to compile my .cpp file. What I have noticed is after typing c++ and pressing the Tab key, an ...
2
votes
1answer
37 views

Auto-completion does not work with sudo mount

I'm using 12.04.2 and auto-completion for mount does not work with sudo. If I don't use sudo auto-completion works as expected: $ mount --bind -t devpts /dev/<press tab> block/ char/ ...
0
votes
1answer
50 views

Are there different options for terminal autocomplete (tab) behaviour?

I don't like my terminal's autocomplete behaviour, to be honest I like windows' cmd behaviour better. Does bash (default shell in ubuntu) come with several options of the autocomplete behaviours? How ...
0
votes
0answers
172 views

Eclipse 4.2 (Juno) crashes on Ubuntu 12.04 (Precise)

I installed eclipse 4.2 java on Ubuntu 12.04 x86_64 and it just crashes everytime it opens the auto completion context menu. It crashes without any error message and just closes the eclipse window. ...
1
vote
1answer
65 views

How to make terminal autocomplete when there are several files/directory?

If I have several directories, like: afoo abar sometimes my terminal will refuse autocomplete when I press tab (e.g. "cd a" then tab), and print the list of directories instead. Sometimes it even ...
1
vote
2answers
38 views

How to see available commands that end with a certain string?

If you start typing and pressing tab the console tries to expand and show all commands, functions and executable scripts that begin with what you have started to write. Is there a way to see which ...
5
votes
3answers
112 views

Service tab-completion broken as root, not even sure where to start looking

On most of our servers, tab completion of service names after typing in the service command no longer works, as root. It works just fine as non-root. This is on Ubuntu 12.04. I'm not even sure where ...
0
votes
1answer
335 views

Is plugin needed for php code completion in Geany?

I'm new to Geany IDE. I have installed basic Geany without any plugins from ubuntu software center. I couldn't find code completion for php when I press Ctrl space. Is plugin needed for this ...
2
votes
3answers
726 views

auto-completion does not work for “sudo apt-get install”

Okay a college of mine just showed me that you could do sudo apt-get install <type first letters of package> <TAB> That it auto-completes the name of the package. Just for an example... ...
0
votes
1answer
679 views

Problem bash completion apt-get 12.10

I've got an annoying problem with completion and sudo apt-get. To give an example: $ sudo apt-get in[Tab][Tab] in intel_bios_reader includeres ...
1
vote
1answer
176 views

Wrong autocompletion with sudo apt-get

Does anybody know why if I type: apt-get upg<TAB> I get: apt-get upgrade but if I type: sudo apt-get upg<TAB> I get: sudo apt-get upgrade-from-grub-legacy
4
votes
2answers
143 views

Any way to list similar commands?

When you write the command name wrong, bash often does this: septi@norbert:~$ good No command 'good' found, did you mean: Command 'gold' from package 'binutils' (main) Command 'gmod' from package ...
3
votes
1answer
313 views

changes to /etc/bash.bashrc not permanent

After a recent upgrade to 12.04, auto tab completion was disable in /etc/bash.bashrc. I uncommented the following lines: if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . ...
3
votes
1answer
120 views

How to make bash quit tab autocompleting hidden directories

Most of the time, I don't need autocompletes for my hidden directories. In fact, that's the point of them being hidden! However, annoyingly, bash takes these directories into account when ...
0
votes
0answers
63 views

Unity Dash/Lens - Auto-completion based on recent search strings [closed]

Sometimes, I find myself typing the same (or quite similar) search strings inside a Unity Lens. So, I thought whether it's possible for the Lens to remember previous searches, and provide a drop-down ...
3
votes
1answer
237 views

Autocomplete on .bash_aliases commands?

I have a whole bunch of aliased commands in .bash_aliases The most generic examples are alias apt-update="sudo apt-get update" alias apt-upgrade="sudo apt-get dist-upgrade" but then I also have ...
0
votes
0answers
21 views

Suggestions for IDE with code auto-completion for web development (LAMP) [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? I am looking for an editor (IDE) for developing PHP web applications. I would need it to handle HTML, CSS, JavaScript and PHP at the ...
0
votes
0answers
110 views

Auto-Tab completion not working in vi effectively

The Tab functionality to auto_complete the file names doesn't work when i try to run java programs with java command (have to type in the complete filename) but it's working fine when I am compiling ...
1
vote
1answer
61 views

CLI looking/acting strange on a BeagleBone

I'm having an issue with the Command Line Interface. I'm running Precise 12.04 armhf on a BeagleBone and all the functionality works fine that I need. I have a 'cosmetic problem' when logged in as the ...
0
votes
0answers
92 views

Why doesn't autocomplete work after typing the “su” command? [duplicate]

Possible Duplicate: Autocompletion doesn't work while logged as root I have had a few times when autocomplete doesn't seem to be there when pressing the tab button. I can recreate this ...
0
votes
2answers
152 views

How to Tab-complete directories when in symlinked directory?

I have a symlink: /path/to/foo -> /path/to/bar/foo When in /path/to/foo I might want to cd to /path/to/bar/foo: $ cd ../ Tab Then nothing autocompletes. I can still cd just fine by typing in ...
5
votes
4answers
2k views

Terminal command autocomplete

I'm currently trying to switch from OpenSUSE to Ubuntu as my main OS. While most of opensuse features is there in ubuntu, there is one feature that doesn't. In Opensuse, I can always use Ctrl+Up to ...
3
votes
2answers
3k views

Bash Completion Doesn't Work In Root User

I'm on 12.04 and I'm trying to find a way to enable Bash completion in root user. Any ideas on how to do that?
1
vote
2answers
3k views

Bash Tab Auto-complete not working for apt

apt-get install and apt-cache policy do not complete package names. I have double checked /etc/bash.bashrc, no irregularities. Googled for answers but none suffice. Any help/advice?
3
votes
1answer
525 views

How to autocomplete formulas in LibreOffice Calc

I recently moved from MS Excel 2007 to LibreOffice Calc (now using Ubuntu 11.10) and there are some things that I still cannot do in LibreOffice Calc. One of these things is formula autocompletion. ...
2
votes
2answers
3k views

Tab autocomplete in terminal is not behaving properly

There's something odd about my autocomplete in the gnome terminal. I used to be able to type cp Downtab to get cp Downloads/, and then type Jettab to end up with cp Downloads/Jet\ Pack\ ...
3
votes
2answers
2k views

Autocompletion doesn't work while logged as root

I have just came across something that is really bothering me. Autocompletion on ubuntu works like a charm but when I login as root, e.g. su I get tab autocompletion only sometimes. Why does it work ...
3
votes
2answers
255 views

alt-tab completion while using SSH

I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...
8
votes
3answers
7k views

apt-get autocomplete

At some moment apt-get install autocomplete was broken It was very useful to me to see packages name with [TAB] press How to repair this autocomplete?
1
vote
1answer
63 views

extra space before brackets [closed]

When I type something anywhere (bash, eclipse, this field) and open a bracket, Ubuntu adds a space before it. So instead of: code() I get code (). This creeps me out. How can I stop it doing that?
7
votes
2answers
1k views

How to create script with auto-complete?

When I use program like svn and I type in Gnome Terminal: svn upd and hit Tab it's autocompleted to: svn update Is it possible to do something like that in my custom bash script?
2
votes
2answers
626 views

enable auto-completion of apt-get for non-privileged user?

I've enabled apt-get in SUDO without password , and bash autocompletion for it need to be enabled as well , but how ? If i try to source that file: %> . /etc/bash_completion.d/apt No command ...
6
votes
1answer
527 views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).
4
votes
1answer
324 views

How do I get tab completion to work with 'rake'?

When I try to use tab completion with rake, only files are suggested: $ rails test-app | grep -v create; cd test-app $ rake <TAB><TAB> app/ db/ lib/ public/ README ...
0
votes
3answers
183 views

How can I use tab completion in the 'Run a command' box? [duplicate]

Possible Duplicate: Getting completion feature with Alt+F2 in Unity? I finally upgraded to Ubuntu 11.04 and so far, I am liking the experience. The only thing I have a problem with, is: ...
1
vote
1answer
214 views

Stop Terminal to auto-put forward slash in front of $HOME

I am running 11.04. Every time i tried to a command such as mv flieA $HOME/<somedir>/ Terminal automatically put "\" in front of $HOME when I hit the 'Tab' key for autocomplete mv flieA ...
1
vote
0answers
320 views

No Bash completion in VNC connections? [closed]

bash completion is not working with a vnc connection. I works if I login with ssh, but not with xterm/bash in a vnc connection. I tried with different display managers and with different machines, no ...
5
votes
3answers
254 views

Bash cannot expand backticks interactively

On RHEL5.2 (bash 2.3.25) I can cd `pwd`/[TAB] and pwd is substituted into my current working directory, using the output of pwd(1). How can I achieve the same functionality in Ubuntu 9.10 (bash ...
2
votes
6answers
2k views

Any editor that does autocompletion in Ubuntu?

Is there any editor/IDE(or a plugin for an existing editor like Vim or GEdit) that does auto-completion of many languages (not just C++)? Aptana does only HTML/CSS/JS and Code::Blocks does only C++ (I ...
3
votes
1answer
668 views

How do I disable pathname expansion in bash?

Suppose I'm a lazy bum and want to avoid putting every string in quotes when passing arguments to a function, how do I avoid the characters * and ? being used by bash for patname expansion? ...
4
votes
0answers
536 views

How enable tab-completion in Dash to run commands? [duplicate]

Possible Duplicate: Getting completion feature with Alt+F2 in Unity? In stardard gnome when I do Alt+F2 I can complete paths and commands with Tab but now in Unity the focus moves down to ...
2
votes
3answers
297 views

Getting completion feature with Alt+F2 in Unity?

I know there is an application that does what I want. It's called gmrun But I was wondering if I could get something like bash completion with unity's run interface .i.e. with tab command ?
7
votes
2answers
3k views

Tab completion doesn't work for commands

I am trying to use tab completion for commands in Ubuntu 11.04 Beta 1, running all the latest updates, but it doesn't seem to work. (Though package bash-completion is installed) Tab completion works ...
5
votes
4answers
2k views

Is it possible to get tab completion with sftp?

Sometimes I need to quickly copy a file from my remote server to my local machine. Here's my current workflow: I SSH into my remote server, find the file and copy its full path. I open new terminal ...