summaryrefslogtreecommitdiff
path: root/README.md
blob: 55dc9e344c09decf5503b6b43da4ce3f946500a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This is a collection of shell functions that can give any POSIX shell some
of Bash's extra functionality. The functions are split into groups of related
functionality. To install them into your shell, use the `.` command to read
the appropriate script (e.g. to load `shell.sh`, run `. ./shell.sh`).

`shell.sh`
----------
Functionality related to the operation of the shell itself.

- `suspend` - Suspends a non-login shell.
- `logout` - Exits a login shell.
- `source` - Alternative spelling of `.`.

`dirstack.sh`
-------------
Functionality for maintaining a stack of working directories.

- `pushd` - Enter a new directory and add the previous to the stack.
- `popd` - Pop the top directory from the stack and change to it.
- `dirs` - Print out the current directory stack.

`history.sh`
------------
Funcionality related to command line history.

- `history` - Lists the current command history.