Comments (5)
One idea of soution might be to look into $PWD
and the fish-function prompt_pwd
fish & fishfish:
$ cd /
$ echo $PWD
$
fish:
$ cd /
$ pwd
$
fishfish:
$ cd /
$ pwd
/
$
from fish-shell.
Got time to research more now...
It's the empty $PWD
that couses everything.
If I change the function __fish_complete_cd
to do set -l wd (pwd)
instead of set -l wd $PWD
, things will work. But things would probably be slower too...
from fish-shell.
The issue turned out to be that path_make_canonical() mishandles the path "/", returning an empty string instead. Fixed and added a test in this commit:
=> Syncing Gitorious... [OK]
To [email protected]:~ridiculousfish/fish-shell/fishfish.git
457e6a5..cc90f9c fish_fish -> fish_fish
from fish-shell.
Thank you etu for your investigation.
from fish-shell.
Yay, it works. With these bugs fixed, 16, 18 and this one. Fishfish is now better then fish for my daily usage ;)
No problem, i always liked fish. But I know it's been dead. So I'm happy to try to help with a new life of the fish :)
from fish-shell.
Related Issues (20)
- Suppress wildcards-globbing for http(s) parameters HOT 1
- Can't use Windows Terminal's Starting Directory HOT 4
- document limitations of --condition HOT 4
- Request to add support for piping into `fish -c 'builtin'` for built-ins HOT 3
- Inconsistanc behavior when changing a symlinked folder in the current working directory HOT 1
- [Suggestion] Do not include final slash on path completion for symlinks to directories HOT 2
- `commandline` seems to lose line break characters HOT 2
- consider making `history-prefix-search-backward` and forward don't change cursor position HOT 1
- [Feature] [vi-mode] Support command count HOT 2
- cd fails for directory without read permission, displays `Permission denied` HOT 3
- `history merge` has mmap issues with certain remote filesystems HOT 8
- WARNING: 'envvar' reference target not found when running 'sphinx-build' to build docs HOT 3
- Using `read` in script cause panic
- Parse and even freeze issue on pasting large input HOT 2
- Error with scp completion HOT 6
- How to have completions for a command match that of an empty command line? HOT 2
- A strange escape sequence "^[[O"
- bind: cannot parse key '▒▒' HOT 2
- Getting the next release ready HOT 6
- Metaprogramming in fish question HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.