Table of Contents
Edit My Config is a plugin for Fish Shell, it was made for those like me who are tired of typing long commands.
- Opens config files easily for:
- Saves typing
- Custom command and editor
- Tab completions
- 100% pure Fish
Want more features? Please open an issue or send a pull request!
Install with Fisher (recommended):
fisher install demartini/emc.fish
Call emc
in your terminal with an option
:
$ emc [<option>]
Option | Description |
---|---|
emc bash |
Opens the Bash config file. |
emc fish |
Opens the Fish config file. |
emc git |
Opens the Git config file. |
emc gpg |
Opens the GPG config file. |
emc gpga |
Opens the GPG agent config file. |
emc nvim |
Opens the Neovim config file. |
emc starship |
Opens the starship config file. |
emc tmux |
Opens the tmux config file. |
emc vim |
Opens the Vim config file. |
emc zsh |
Opens the Zsh config file. |
emc version |
Show the current version. |
emc help |
Print help. |
If you would like to customize emc
default command, then set your own EMC_CMD
universal variable. For example:
set --universal --export EMC_CMD ec
Alternatively, you can add the following line to your ~/.config/fish/config.fish
:
set --export EMC_CMD ec
The default editor is VS Code, but if you would like to use a different one, then set your own EMC_EDITOR
universal variable. For example:
set --universal --export EMC_EDITOR nvim
Alternatively, you can add the following line to your ~/.config/fish/config.fish
:
set --export EMC_EDITOR nvim
If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.
See CHANGELOG for a human-readable history of changes.
Distributed under the MIT License. See LICENSE for more information.