o: /cwd with no args shows current working directory

This commit is contained in:
Ollie Agent 2026-08-08 23:07:26 +02:00
parent cf1866d646
commit b5404fff87
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ cmd_prompt() {
model*) echo "$cmd" | ollie-9p write "$path/ctl"; echo "[${cmd}]" ;;
backend) ollie-9p read "$path/cfg" | grep '^backend=' ;;
backend*) echo "$cmd" | ollie-9p write "$path/ctl"; echo "[${cmd}]" ;;
cwd) ollie-9p read "$path/cwd" ;;
cwd*) echo "$cmd" | ollie-9p write "$path/ctl"; echo "[${cmd}]" ;;
quit|q) tmux kill-session -t "o-${s}" 2>/dev/null; exit 0 ;;
agent*) echo "$cmd" | ollie-9p write "$path/ctl"; exit 0 ;;