- Notifications
You must be signed in to change notification settings - Fork2
Edit My Config is a plugin for Fish Shell.
License
demartini/emc.fish
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Table of Contents
Edit My Config is a plugin forFish 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 anissue or send apull request!
Install withFisher (recommended):
fisher install demartini/emc.fish
Callemc
in your terminal with anoption
:
$ 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 customizeemc
default command, then set your ownEMC_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 isVS Code, but if you would like to use a different one, then set your ownEMC_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 ourcontribution guidelines and open anissue orpull request.
SeeCHANGELOG for a human-readable history of changes.
Distributed under the MIT License. SeeLICENSE for more information.
About
Edit My Config is a plugin for Fish Shell.