#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 14 years ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Summary: | Trying to change directory to current cause hang up in fish → fish: Trying to change directory to current directory causes hang |
comment:2 Changed 13 years ago by g5pw (Aljaž Srebrnič)
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
The fish shell has . as an alias for source. When called without arguments it expects commands from stdin, so that behavior was actually normal.
Note: See
TracTickets for help on using
tickets.

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.