Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fish fixes #145

Merged
merged 3 commits into from
Jan 4, 2021
Merged

Fish fixes #145

merged 3 commits into from
Jan 4, 2021

Conversation

d3dave
Copy link
Contributor

@d3dave d3dave commented Jan 4, 2021

WHAT

Fix some issues in fish:

  • Literal \ns in history entries.
  • Parent traversal via .. doesn't work because filepath_abs doesn't properly trim the newline character. After the newline that is still there gets translated by fish to a space (via IFS), it results in the dir variable having an extra trailing space. The resulting string isn't a real path, so the awk script fails on it.

WHY

Directories with spaces end up showing with literal \ns, like:

/Users/.../VirtualBox\nVMs

And .. doesn't work.

@jorgebucaran jorgebucaran merged commit 8920a3d into babarot:master Jan 4, 2021
@d3dave d3dave deleted the fish-fixes branch January 8, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants