🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by George Lindholm Mon, 14 Sep 1992 18:28
bash 1.12 - File completion for wromg directory
#901
Author: George Lindholm
Date: Mon, 14 Sep 1992 18:28
27 lines
1533 bytes
Every once in a while, bash seems to forget either what the current directory
is or where to look for files when I try to use <TAB> to complete a filename.
E.g:

lindholm@kynok$ pwd
/usr/local/printer/lpd2
lindholm@kynok$ ls
a.ps            gf@             of@             script@         script~*
cf@             if@             pr@             script.pl*      tf@
df@             nf@             rf@             script.sh*      vf@
lindholm@kynok$ emacs script<TAB><TAB>
gives me /usr/ucb/script rather than a listing of the files in my current
directory.

I don't know what I do to get myself in this state but it is very frustrating.
Any ideas on how I can reset my state (without having to exit the shell)?
Thanks

bash 1.12, SunOS 4.1.1, SPARCstation

   George

-- 
George Lindholm                                  phone:    (604) 822-4375
University Computing Services, UBC               fax:      (604) 822-5116
6356 Agricultural Road, Vancouver, B.C., Canada  internet: lindholm@ucs.ubc.ca
V6T 1Z2                                          bitnet:   USERGNL@UBCMTSG
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads