mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Update magic-enter.plugin.zsh
This commit is contained in:
parent
0d71aece1e
commit
bd9ffb33e5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Default commands
|
||||
: ${MAGIC_ENTER_GIT_COMMAND:="git status -u ."} # run when in a git repository
|
||||
: ${MAGIC_ENTER_OTHER_COMMAND:="ls -lh ."} # run anywhere else
|
||||
: ${MAGIC_ENTER_GIT_COMMAND:="gst"} # run when in a git repository
|
||||
: ${MAGIC_ENTER_OTHER_COMMAND:="l"} # run anywhere else
|
||||
|
||||
magic-enter() {
|
||||
# Only run MAGIC_ENTER commands when in PS1 and command line is empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue