mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
55a2e6d003
Updated in response to comments from @bucaran Port of oh-my-zsh emacs plugin. Includes a function to kill emacs from command line once a daemon has started. More information included in plugins/emacs/README.md. See reference plugin here: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/emacs
6 lines
112 B
Fish
6 lines
112 B
Fish
function efile
|
|
set -l cmd '(buffer-file-name (window-buffer))'
|
|
|
|
__launch_emacs --eval $cmd | tr -d '\"'
|
|
end
|