You are not logged in.

#1 2018-04-22 13:42:22

OmeletHopper
Member
Registered: 2018-04-22
Posts: 1

Bash autocomplete adds \ to the beginning of ~/

Hello, Yesterday I did a fresh install of Arch Linux onto my Cruzer Glide flash drive. I recently started noticing that whenever I am in the terminal (Doesn't matter if it's a terminal emulator or in tty1, tty2, etc) that when I hit tab for autocomplete, If the path I am auto completing uses ~, It adds a \ to the beginning of input. I don't know how well this explanation is, but here is an example:

chmod +x ~/Dow

So I am trying to make an AppImage executable in this example. If I were to hit tab,

chmod +x \~/Downloads/

it does that. I've also noticed that if I hit tab again, all the files in that directory don't show up. Also, If it's just

~/

and I hit tab, it toggles the beginning \, meaning if I hit tab again it goes away.

Thanks in advance!
I have bash-autocomplete installed, and I am up-to-date.

Offline

#2 2018-04-22 15:29:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,523
Website

Re: Bash autocomplete adds \ to the beginning of ~/

It works fine here.  Have you tried with a clean bashrc/bash_profile?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB