fish-shell / fish-shell/fish-shell

funcsave should update path to function

Open
#6,113 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
34.2k
Forks
2.4k
Avg merge
2d 8h
Merged PRs (30d)
13

Description

```fish
~> alias foo="bar"
~> type -p foo
-
~> funcsave foo
~> type -p foo
-
~> exec fish
~> type -p foo
/home/mqudsi/.config/fish/functions/foo.fish
```

This prevents the use of `funced` to edit the saved function, as the function loaded in memory is the one that is sourced when `funced foo` is used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.