···2323# Set a proper TTY for gpg commands to work
2424set -gx GPG_TTY (tty)
25252626-# Inhibit suspend while logged into SSH session
2727-if command -qs systemd-inhibit; and set -q SSH_TTY
2828- # systemd-inhibit \
2929- # --what=idle \
3030- # --who='fish shell' \
3131- # --why="prevent suspend during SSH session" \
3232- # sleep infinity &
3333-3434- # # If we don't disown this, it takes two tries to quit, but we can still
3535- # # kill it on exit with a trap
3636- # trap "kill "(jobs --last --pid) EXIT
3737- # disown %1
3838-end
3939-4026# Set jq to show null/true/false as magenta instead of black or otherwise
4127set -gx JQ_COLORS "1;35:1;35:1;35:0;39:0;32:1;39:1;39"
4228