The repository formerly known as dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Causal Agent 40fb6999f7
Save cash history incrementally
1 month ago
..
libedit Fix ordering issue with va_arg calls 2 months ago
.gitignore Fix header dependencies in cash Makefile 2 months ago
Makefile Add shell and unshell targets 2 months ago
README Add cash.7 README 2 months ago
TOUR Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
alias.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
alias.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
arith.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
arith_yacc.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
arith_yacc.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
arith_yylex.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
bltin.h Move bltin out of subdirectory 2 months ago
builtins.def Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
cash-kill.1 Restore cash builtin man page dates 2 months ago
cash-printf.1 Restore cash builtin man page dates 2 months ago
cash-test.1 Restore cash builtin man page dates 2 months ago
cash.1 Add cash.7 README 2 months ago
cash.7 Add cash.7 README 2 months ago
cd.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
cd.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
echo.c Move bltin out of subdirectory 2 months ago
error.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
error.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
eval.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
eval.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
exec.c Replace eaccess with faccessat 2 months ago
exec.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
expand.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
expand.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
histedit.c Save cash history incrementally 1 month ago
input.c Replace strchrnul with strchr 2 months ago
input.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
jobs.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
jobs.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
kill.c Replace sys_nsig with NSIG 2 months ago
mail.c Replace strchrnul with strchr 2 months ago
mail.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
main.c Fix unused copyright and rcsid in cash 2 months ago
main.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
memalloc.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
memalloc.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
miscbltin.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
mkbuiltins Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
mknodes.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
mksyntax.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
mktokens Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
myhistedit.h Add basic HISTFILE load and save 2 months ago
mystring.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
mystring.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
nodes.c.pat Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
nodetypes Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
options.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
options.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
output.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
output.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
parser.c Shorten $HOME to ~ in prompt expansion 2 months ago
parser.h Set RPROMPT from RPS1 and RPS2 2 months ago
printf.c Fix unused copyright and rcsid in cash 2 months ago
redir.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
redir.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
shell.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
show.c Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
show.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
test.c Replace eaccess with faccessat 2 months ago
trap.c Replace sys_nsig with NSIG 2 months ago
trap.h Import /usr/src/bin/sh from FreeBSD 12.0-RELEASE 2 months ago
var.c Save cash history incrementally 1 month ago
var.h Save cash history incrementally 1 month ago

README

CASH(7)            FreeBSD Miscellaneous Information Manual            CASH(7)

NAME
cash – the Causal Agency shell

DESCRIPTION
cash is a shell derived from FreeBSD sh(1), which is in turn derived from
Almquist shell. It includes editline(3) from NetBSD.

Differences from sh(1)
• ENV defaults to ‘${XDG_CONFIG_HOME:-${HOME}/.config}/cash/env.sh’.

• PS0 is printed before each prompt, allowing multi-line prompts.

• Right-aligned prompts can be set with RPS1 and RPS2.

• PSlit can be used to embed terminal escape sequences in prompts, as
in NetBSD sh(1).

• HOME is shortened to ‘~’ in prompt expansion.

• fc -s =new allows prefixing commands with new.

HISTORY
sh(1) sources were imported from FreeBSD 12.0. editline(3) sources were
imported from NetBSD 8.0.

Causal Agency January 14, 2019 Causal Agency