Skip to content

Commit

Permalink
load gitar shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
ariary committed Feb 27, 2022
1 parent 2344a5d commit c0fb0e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 0 additions & 16 deletions light-pty4all/socat-forker.sh

This file was deleted.

1 change: 1 addition & 0 deletions light-pty4all/socat-forker.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SOCAT_TTY=$(tty)

# space for no history, gitar shortcut
echo " $(gitar --dry-run -e GITAR_HOST)" > ${SOCAT_TTY}
echo " clear" > ${SOCAT_TTY}

# Use socat to ship data between the unix socket and STDIO.
exec socat file:${SOCAT_TTY},raw,echo=0 UNIX-CONNECT:${SOCKF}

0 comments on commit c0fb0e3

Please sign in to comment.