From fb20e8c32eddb5ea4aedd44cfc0c49402ff9184d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 18 Apr 2019 20:30:54 -0400 Subject: Rename cash to catsh --- bin/catsh/catsh.7 | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 bin/catsh/catsh.7 (limited to 'bin/catsh/catsh.7') diff --git a/bin/catsh/catsh.7 b/bin/catsh/catsh.7 new file mode 100644 index 00000000..e41544fd --- /dev/null +++ b/bin/catsh/catsh.7 @@ -0,0 +1,63 @@ +.Dd January 14, 2019 +.Dt CATSH 7 +.Os "Causal Agency" +. +.Sh NAME +.Nm catsh +.Nd a 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}/catsh/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 . -- cgit 1.4.1