Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#36750 closed defect (invalid)

fish: Trying to change directory to current directory causes hang

Reported by: alex.dorokhov@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: fish

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Changing directory to parent or another one (without cd) with this approach:

$ ..
$ ./another_one

works great.

However if you made a mistake and instead of ".." try to call ".":

$ .

fish will freeze. And nothing you can do with current terminal.

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: Trying to change directory to current cause hang up in fishfish: Trying to change directory to current directory causes hang

You should probably report the problem to the developers of fish so that they can fix it. When they release a new version, we can update the port.

comment:2 Changed 10 years ago by g5pw (Aljaž Srebrnič)

Resolution: invalid
Status: newclosed

The fish shell has . as an alias for source. When called without arguments it expects commands from stdin, so that behavior was actually normal.

Last edited 10 years ago by g5pw (Aljaž Srebrnič) (previous) (diff)
Note: See TracTickets for help on using tickets.