mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
10 lines
358 B
Bash
10 lines
358 B
Bash
# -*- mode: shell-script; -*-
|
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
tmp=$(mktemp)
|
|
tee > $tmp
|
|
emacs -Q --batch --eval $"(progn (require 'server) (princ (format \"%s\\n\" (server-eval-at \"server\" '(completing-read-frame-popup-file \"$1\" \"$tmp\" \"$DISPLAY\" $2 $3)))))"
|
|
rm $tmp
|