terminal-url-handler/terminal-url-open
Vincent Batts 1071567f8d
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2024-05-23 22:00:46 -04:00

6 lines
101 B
Bash
Executable file

#!/bin/bash
set -ue
dir="${1#terminal://}"
x-terminal-emulator -e "sh -c 'cd "${dir}" && \$SHELL'"