dfhjlkø
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
zeditor-here() (
|
||||
for fqdn in $(printf "%q\n" $(hostname -f) $(hostname -A) | sort -u); do
|
||||
printf "zeditor ssh://%q:%q\n" "${fqdn}" "$(realpath "${1:-.}")"
|
||||
done
|
||||
)
|
||||
|
||||
zeditor-remote() {
|
||||
local statedir="${XDG_STATE_HOME:-"$HOME/.local/state/"}/zeditor-remote-sh"
|
||||
|
||||
@@ -182,3 +188,10 @@ zeditor-remote() {
|
||||
fi
|
||||
unset -f lru_push
|
||||
}
|
||||
|
||||
atom-here() {
|
||||
zeditor-here "$@"
|
||||
}
|
||||
atom-remote() {
|
||||
zeditor-remote "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user