aboutsummaryrefslogtreecommitdiff
path: root/.ai/protocols.org
diff options
context:
space:
mode:
Diffstat (limited to '.ai/protocols.org')
-rw-r--r--.ai/protocols.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/.ai/protocols.org b/.ai/protocols.org
index 75cb7a8..d820073 100644
--- a/.ai/protocols.org
+++ b/.ai/protocols.org
@@ -237,6 +237,13 @@ Craig runs a pure Wayland setup (Hyprland) and avoids XWayland/Xorg apps.
- The =&>/dev/null &= is required to detach the process and suppress output
- Without it, the command may appear to hang or produce no result
+*** Shell aliases (=ls= → =exa=)
+Craig's shell aliases =ls= to =exa=, which prints nothing to non-TTY pipes (e.g. when capturing =ls= output in a Bash tool call). The result looks like the directory is empty when it isn't.
+
+- Always use =\ls= (or =command ls=) when capturing output. The backslash bypasses the alias.
+- Applies to =ls -la=, =ls -t=, glob expansions piped through =ls=, and any =ls= invocation whose output gets read programmatically.
+- Symptom if forgotten: the Bash tool returns empty output and you mistakenly conclude the directory is empty.
+
** Miscellaneous Information
- Craig currently lives in New Orleans, LA
- Craig's phone number: 510-316-9357