abbtr(1)

abbtr1

Abbreviator for long commands in linux terminal

Usage

abbtr [options] [usage] ...

Overview

abbtr comes as an alternative to the default "alias" command. It's a simple program designed to abbreviate long prompts in the GNU/Linux terminal. You can easily set rules, delete them, list them, and update them with a clear set of parameters. It should be functional in any GNU/Linux distribution.

Options

-l

List stored rules.

-n <name> '<command>'

Create a new rule with the specified name and command.

-i <file path>

Import rules from a local file.

-e

Export rules to a file.

-b=<variable:value>

Predefine the value of a bottle.

-r <name>

Delete an existing rule by name.

-r a

Delete all rules.

-c <name> '<command'>

Update the command of an existing rule specified by name.

-ln <name>

Show the contents of a specific rule by name.

-h

Show this help message.

-v

Show the program version.

Usage examples

Create a new rule: abbtr -n update 'sudo apt update -y'

Then run: update

Syntax for feeding bottles: b%('variable')%b

User files

Config file: located at ~/.config/abbtr/abbtr.conf

Log file: located at ~/.local/share/abbtr/abbtr.log

rule scripts: located at ~/.local/bin

Bugs

abbtr does not have any locking mechanisms yet.

If you discover any other bugs in abbtr, please contact the author.

Authors

Originally written by Manuel Guerra <[email protected]>.

Please use the email address <[email protected]> for abbtr-related comments.

From abbtr 1.0.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.