#!/bin/bash echo "=== Testing aigpt-rs shell tab completion ===" echo echo "To test tab completion, run:" echo "cargo run --bin aigpt-rs -- shell syui" echo echo "Then try these commands and press Tab:" echo " /st[TAB] -> should complete to /status" echo " /mem[TAB] -> should complete to /memories" echo " !l[TAB] -> should complete to !ls" echo " !g[TAB] -> should show !git, !grep" echo echo "Manual test instructions:" echo "1. Type '/st' and press TAB - should complete to '/status'" echo "2. Type '!l' and press TAB - should complete to '!ls'" echo "3. Type '!g' and press TAB - should show git/grep options" echo echo "Run the shell now..."