Re: to - Bookmark file system locations in bash on POSIX-like systems

2013-04-05 Thread Domingo Ignacio Galdos
Actually, that seems like kind of a good point to me. I think I may dabble with your tool! On Thu, Apr 4, 2013 at 9:51 PM, Mara Kim wrote: > Hi Domingo, > > The biggest benefit is that it is just plain easier than managing a > directory of symbolic links on your own. I am extremely lazy. > > He

Re: to - Bookmark file system locations in bash on POSIX-like systems

2013-04-05 Thread Chris Down
On 2013-04-04 20:51, Mara Kim wrote: > To get back on track. Note that this process is the same even if the 'work' > bookmark already exists, while doing things by hand would throw an error > without first removing the old link. See the `-f' option to ln. > Also you would need to remember to use

Re: to - Bookmark file system locations in bash on POSIX-like systems

2013-04-05 Thread Mara Kim
> See the `-f' option to ln. So I did some experimentation, and it is not sufficient to simply use the -f option to ln to update bookmarks $ ln -s /bin foo # foo -> /bin/ $ ln -sf /etc foo ln: failed to create symbolic link `rot/etc': Permission denied You also need to use the -n option to preven

Re: Completion list showed twice using "show-all-if-ambiguous" and "menu-complete" together

2013-04-05 Thread Chet Ramey
On 4/4/13 7:53 AM, reha...@gmail.com wrote: > Hi, > > Ubuntu 12.10, Bash 4.2.37 > > With the following inputrc ([Ctrl-RightArrow] mapped to menu-complete): > set show-all-if-ambiguous on > "\e[1;5C": menu-complete > > Actual Behaviour > > > # Type 'ls d' > $ ls d

Re: "typeset +x var" to a variable exported to a function doesn't remove it from the environment.

2013-04-05 Thread Chet Ramey
On 3/25/13 9:37 PM, Dan Douglas wrote: > Hello, > > $ function f { typeset +x x; typeset x=123; echo "$x"; sh -c 'echo "$x"'; > }; x=abc f > 123 > abc > $ echo "$BASH_VERSION" > 4.2.45(1)-release > > This is inconsistent with a variable defined and exported any other way. >

Re: to - Bookmark file system locations in bash on POSIX-like systems

2013-04-05 Thread Chris Down
On 6 Apr 2013 01:49, "Mara Kim" wrote: > > > See the `-f' option to ln. > > So I did some experimentation, and it is not sufficient to simply use the -f option to ln to update bookmarks > $ ln -s /bin foo > # foo -> /bin/ > $ ln -sf /etc foo > ln: failed to create symbolic link `rot/etc': Permissi

Re: Completion list showed twice using "show-all-if-ambiguous" and "menu-complete" together

2013-04-05 Thread rehanog
On Friday, April 5, 2013 9:59:11 PM UTC+2, Chet Ramey wrote: > On 4/4/13 7:53 AM, reha...@gmail.com wrote: > > > Hi, > > > > > > Ubuntu 12.10, Bash 4.2.37 > > > > > > With the following inputrc ([Ctrl-RightArrow] mapped to menu-complete): > > > set show-all-if-ambiguous on > > > "\e[1;5C"