🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #901

bash 1.12 - File completion for wromg directory

#901
From: 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
Technical Details
Message-ID: <1992Sep14.182830.16097@unixg.ubc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucs.ubc.CA!lindholm

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucs.ubc.CA!lindholm
From: lindholm@ucs.ubc.CA (George Lindholm)
Subject: bash 1.12 - File completion for wromg directory
Message-ID: <1992Sep14.182830.16097@unixg.ubc.ca>
Sender: gnulists@ai.mit.edu
Organization: University Computing Services, UBC, Canada
Distribution: gnu
Date: Mon, 14 Sep 1992 18:28:30 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 29