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

Projects
None yet
3 participants
@thomcc
Copy link
Contributor

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
Add `alias -s/--save`, which saves the alias.
Also updates the `alias` documentation to mention the `-h`/`--help` option,
which was previously undocumented.

@thomcc thomcc force-pushed the thomcc: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

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@faho faho added the enhancement label Apr 8, 2018

@faho faho added this to the fish-3.0 milestone Apr 8, 2018

@faho

This comment has been minimized.

Copy link
Member

faho commented Apr 8, 2018

Nice idea, thanks!

@iceqing

This comment has been minimized.

Copy link

iceqing commented Dec 30, 2018

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

@faho

This comment has been minimized.

Copy link
Member

faho commented Dec 30, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment