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

Add alias -s/--save, which saves the alias using funcsave. #4878

Merged
merged 1 commit into from Apr 8, 2018

Conversation

@thomcc
Copy link
Contributor

@thomcc thomcc commented Apr 6, 2018

Description

This is very similar to the funced -s option. I've also updated the alias documentation to mention the -h/--help option, which was previously undocumented.

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages.
  • User-visible changes noted in CHANGELOG.md
Also updates the `alias` documentation to mention the `-h`/`--help` option,
which was previously undocumented.
@thomcc thomcc force-pushed the alias-save-option branch from 2ed24e1 to 388459b Apr 6, 2018
@faho faho merged commit 25169a4 into fish-shell:master Apr 8, 2018
1 check passed
Loading
@faho faho added this to the fish-3.0 milestone Apr 8, 2018
@faho
Copy link
Member

@faho faho commented Apr 8, 2018

Nice idea, thanks!

Loading

@iceqing
Copy link

@iceqing iceqing commented Dec 30, 2018

I using alias xxx -s , but where is the alias file location?

Loading

@faho
Copy link
Member

@faho faho commented Dec 30, 2018

@iceqing: Same as with funcsave - ~/.config/fish/functions.

Loading

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants