When i made 2 fresh ubuntu x64 instances, one had tab autocomplete working. The other just throws up spaces when tabbing. Also the second instance wont let me use up and down arrow keys to cycle through history.
Does anyone know how to fix this. Goog search did'nt provide much.
I'm new to zsh and one thing that I do quite often is execute shell scripts that are in a directory of mine called Scripts. I'm not always inside of the Scripts directory, however... I may be in $HOME and therefore would like to just type Sc<Tab> and have it autocomplete to Scripts/ and then be able to autocomplete which script I want to run from there, of course...
I have a directory with 400 sub-directories each containing several hundred files many with filenames that contain spaces. I need to copy all of the files with spaces in the filenames, resulting two copies of those files, one with spaces and one with underscores replacing the spaces. I see a lot of code that comes close, but nothing that will copy, rename and replace spaces recursively.
I want to make a script that: (1) Gets a path giving the user the ability to use tab to autocomplete, then (2) gets a filename from the user, and then (3) creates a file at that path with extension .txt.
on the commandline when I use autocomplete to enter a directory name a whitespace is added at the end of the directory name. This is annoying because in most cases you want to continue into another directory. If I remember correct this used to be different some months/years ago.
(Why )has this changed?
How can I return to the old-fashioned autocomplete?