4 lines
158 B
Plaintext
4 lines
158 B
Plaintext
|
#!/bin/sh
|
||
|
cd "$(readlink -f "/proc/$(pgrep -P $(xdotool getwindowpid "$(xdotool getactivewindow)"))/cwd")" &>/dev/null || cd "$HOME"
|
||
|
exec st "${SHELL:-bash}"
|