mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
Improve emacs remote script a bit
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
591399f5a3
commit
5301c8defb
|
@ -26,7 +26,9 @@ else
|
|||
fi
|
||||
|
||||
emacsclient() {
|
||||
if [[ -e "$HOME/.ssh/emacs-server" ]] && [[ -z ${INSIDE_EMACS+x} ]] ; then
|
||||
if [[ -e "$HOME/.ssh/emacs-server" ]] && \
|
||||
nc -Uz "$HOME/.ssh/emacs-server" && \
|
||||
[[ ! -z ${INSIDE_EMACS+x} ]] ; then
|
||||
params=()
|
||||
sudo=0
|
||||
nowait=0
|
||||
|
|
Loading…
Reference in a new issue