diff --git a/home/standalone/.zsh.d/grml-zshrc b/home/standalone/.zsh.d/grml-zshrc index 22263e2..0e83c97 100644 --- a/home/standalone/.zsh.d/grml-zshrc +++ b/home/standalone/.zsh.d/grml-zshrc @@ -1643,7 +1643,8 @@ bind2maps emacs viins vicmd -- -s '\e'${key[Left]} backward-word # autoloading zrcautoload zmv -zrcautoload zed +# zrcautoload zed # o4: 禁用 zed, 和 zed editor 的 cli binary name 撞车了 +unset -f zed # we don't want to quote/espace URLs on our own... # if autoload -U url-quote-magic ; then @@ -3129,18 +3130,6 @@ function profile () { ZSH_PROFILE_RC=1 zsh "$@" } -#f1# Edit an alias via zle -function edalias () { - [[ -z "$1" ]] && { echo "Usage: edalias " ; return 1 } || vared aliases'[$1]' ; -} -compdef _aliases edalias - -#f1# Edit a function via zle -function edfunc () { - [[ -z "$1" ]] && { echo "Usage: edfunc " ; return 1 } || zed -f "$1" ; -} -compdef _functions edfunc - # use it e.g. via 'Restart apache2' #m# f6 Start() \kbd{service \em{process}}\quad\kbd{start} #m# f6 Restart() \kbd{service \em{process}}\quad\kbd{restart}