summary refs log tree commit diff
path: root/bin/cash/cash.7
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-14 15:58:35 -0500
committerJune McEnroe <june@causal.agency>2019-01-14 15:58:35 -0500
commit6d47df31e962e1e5b9bc3e6b5a3a5a3f9c3b4997 (patch)
tree692b352635a3d2da69151ef73bf1e0fadadae91a /bin/cash/cash.7
parentDocument old=new argument of fc -s (diff)
downloadsrc-6d47df31e962e1e5b9bc3e6b5a3a5a3f9c3b4997.tar.gz
src-6d47df31e962e1e5b9bc3e6b5a3a5a3f9c3b4997.zip
Add cash.7 README
Diffstat (limited to '')
-rw-r--r--bin/cash/cash.763
1 files changed, 63 insertions, 0 deletions
diff --git a/bin/cash/cash.7 b/bin/cash/cash.7
new file mode 100644
index 00000000..35f9fc4f
--- /dev/null
+++ b/bin/cash/cash.7
@@ -0,0 +1,63 @@
+.Dd January 14, 2019
+.Dt CASH 7
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm cash
+.Nd the Causal Agency shell
+.
+.Sh DESCRIPTION
+.Nm
+is a shell derived from
+.Fx
+.Xr sh 1 ,
+which is in turn derived from Almquist shell.
+It includes
+.Xr editline 3
+from
+.Nx .
+.
+.Ss Differences from Xr sh 1
+.Bl -bullet
+.It
+.Va ENV
+defaults to
+.Ql ${XDG_CONFIG_HOME:-${HOME}/.config}/cash/env.sh .
+.
+.It
+.Va PS0
+is printed before each prompt,
+allowing multi-line prompts.
+.
+.It
+Right-aligned prompts can be set with
+.Va RPS1
+and
+.Va RPS2 .
+.
+.It
+.Va PSlit
+can be used to embed terminal escape sequences in prompts,
+as in
+.Nx
+.Xr sh 1 .
+.
+.It
+.Va HOME
+is shortened to
+.Sq ~
+in prompt expansion.
+.
+.It
+.Ic fc Fl s Ar = Ns Ar new
+allows prefixing commands with
+.Ar new .
+.El
+.
+.Sh HISTORY
+.Xr sh 1
+sources were imported from
+.Fx 12.0 .
+.Xr editline 3
+sources were imported from
+.Nx 8.0 .