fish-shell / fish-shell/fish-shell
funcsave should update path to function
Open
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
Assessment
This issue has not been assessed yet.