Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied

2008-07-12 Thread Chet Ramey
[EMAIL PROTECTED] wrote: LynnOS wrote: [EMAIL PROTECTED] Linux-vserver:~# pwd /root [EMAIL PROTECTED] Linux-vserver:~# ls -ld /root drwx--3 root root 4096 Jul 3 14:52 /root [EMAIL PROTECTED] Linux-vserver:~# su lynn *shell-init: error retrieving current directory: getcwd: c

Re: Feature Request: LSPATH for filename completion.

2008-07-12 Thread Chet Ramey
Some Developer wrote: Hello, 1. It may help if we could overload CDPATH (either as it is, or via a shopt for backward compatibility reasons) so that Filename Completion consults CDPATH also. This is a perfect opportunity to use programmable completion. Writing a shell function that uses CDP