[MacPorts] #43265: bash 4.3.8 breaks completion of paths started with ~
#43265: bash 4.3.8 breaks completion of paths started with ~ ---------------------------+-------------------------------- Reporter: xeron.oskom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: bash ---------------------------+-------------------------------- {{{ xeron@Xerons-MacBook:~$ echo $BASH_VERSION 4.3.8(1)-release xeron@Xerons-MacBook:~$ mkdir test xeron@Xerons-MacBook:~$ mkdir test/1 xeron@Xerons-MacBook:~$ mkdir test/2 xeron@Xerons-MacBook:~$ touch test/file1 xeron@Xerons-MacBook:~$ touch test/testfile2 xeron@Xerons-MacBook:~$ vim ~/test/<TAB><TAB> 1/ 2/ xeron@Xerons-MacBook:~$ vim test/<TAB><TAB> 1/ 2/ file1 testfile2 xeron@Xerons-MacBook:~$ /bin/bash xeron@Xerons-MacBook:~$ echo $BASH_VERSION 3.2.51(1)-release xeron@Xerons-MacBook:~$ vim ~/test/<TAB><TAB> 1/ 2/ file1 testfile2 xeron@Xerons-MacBook:~$ vim test/<TAB><TAB> 1/ 2/ file1 testfile2 }}} Caused by #43173 -- Ticket URL: <https://trac.macports.org/ticket/43265> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash 4.3.8 breaks completion of paths started with ~ ----------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash | ----------------------------+---------------------- Changes (by ryandesign@…): * cc: raimue@… (removed) * owner: macports-tickets@… => raimue@… -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash 4.3.8 breaks completion of paths started with ~ -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Changes (by raimue@…): * status: new => assigned * port: bash => bash bash-completion Comment: Are you using bash-completion? I can reproduce the bug, but only when bash-completion is loaded. -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash 4.3.8 breaks completion of paths started with ~ -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Comment (by xeron.oskom@…): Replying to [comment:3 raimue@…]:
Are you using bash-completion? I can reproduce the bug, but only when bash-completion is loaded.
Yes I do. I can confirm, it's reproducible only with bash-completion enabled. -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: Fixes committed in r118693. Remember to reopen any shells to load the new bash-completion. -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Comment (by xeron.oskom@…): Works now. Thank you! -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Changes (by heylinus@…): * status: closed => reopened * resolution: fixed => Comment: This problem still exists on OS X 10.7.5 {{{ $ port version Version: 2.3.1 $ port installed | grep bash-completion bash-completion @2.1_8 (active) }}} "/opt/local/bin/bash" with bash-completion {{{ $ echo $BASH_VERSION 4.3.24(1)-release $ cd ~/<TAB> # outputs nothing but error bell sound $ cd ~/D<TAB> # outputs nothing but error bell sound }}} system default "/bin/bash" without bash-completion[[BR]] or "/opt/local/bin/bash" without bash-completion {{{ $ echo $BASH_VERSION 3.2.48(1)-release # /bin/bash 4.3.24(1)-release # /opt/local/bin/bash $ cd ~/<TAB> # outputs list of files and folders under $HOME $ cd ~/D<TAB> Desktop/ Documents/ Downloads/ }}} -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Comment (by xeron.oskom@…): Looks like it's a bit different, since in my case it was showing dirs. Also can't reproduce on 10.10. {{{ xeron@Xerons-MacBook:~$ port installed | grep bash-completion bash-completion @2.1_8 (active) xeron@Xerons-MacBook:~$ echo $BASH_VERSION 4.3.24(1)-release xeron@Xerons-MacBook:~$ cd ~/D Desktop/ Documents/ Downloads/ Dropbox/ }}} -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Comment (by heylinus@…): Fixed! Please close this ticket. The problem on my system was caused by a legacy user account created by early version of Macports: {{{ /Users/rabbitmq }}} Because its home folder were pointed to non-existing folder (/opt/local/var/lib/rabbitmq), when it comes to tilde expansion, it somehow stucks at "~rabbitmq". Delete the user and group with the same name would fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#43265: bash-completion breaks completion of paths starting with ~ with bash @4.3.8 -----------------------------------+---------------------- Reporter: xeron.oskom@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: bash bash-completion | -----------------------------------+---------------------- Changes (by raimue@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/43265#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts