Update magic-enter.plugin.zsh

This commit is contained in:
GR3YH4TT3R93 2023-09-20 17:24:59 -07:00
commit bd9ffb33e5
No known key found for this signature in database

View file

@ -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