]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/magic-enter/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / magic-enter / README.md
1 ## Magic Enter plugin
2
3 This plugin makes your enter key magical, by binding commonly used commands to it.
4
5 To use it, add `magic-enter` to the plugins array in your zshrc file. You can set the
6 commands to be run in your .zshrc, before the line containing plugins. If no command
7 is specified in a git directory, `git status` is executed; in other directories, `ls`.
8
9 ```zsh
10 # defaults
11 MAGIC_ENTER_GIT_COMMAND='git status -u .'
12 MAGIC_ENTER_OTHER_COMMAND='ls -lh .'
13
14 plugins=(... magic-enter)
15 ```
16
17 **Maintainer:** [@dufferzafar](https://github.com/dufferzafar)