mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-09 15:05:16 +02:00
- Fix pass of parameters
- Add new function `ecd'.
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
|
||||
x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null`
|
||||
if [ -z "$x" ] ;then
|
||||
emacsclient --alternate-editor "" --create-frame $@
|
||||
emacsclient --alternate-editor "" --create-frame "$@"
|
||||
else
|
||||
# prevent creating another X frame if there is at least one present.
|
||||
emacsclient --alternate-editor "" $@
|
||||
emacsclient --alternate-editor "" "$@"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user