ABBTR(1)

✨ ABBTR(1) β€” abbtr ✨ πŸŽ€

πŸ’– NAME

Okay so, abbtr is the abbreviator for long commands in the Linux terminal πŸ¦‹ It's giving "shorter prompts, same vibes."


🌸 SYNOPSIS

abbtr [options] [usage] ...

πŸ’… DESCRIPTION

Bestie, abbtr is an alternative to the default alias command ✨ It's a simple program built to abbreviate long prompts in the GNU/Linux terminal. You can set rules, delete them, list them, and update them with a clear set of parameters, so it's giving total control πŸ‘‘ 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. Be careful if you're running multiple sessions at once, bestie 😭

If you discover any other bugs in abbtr, please contact the author πŸ’œ


🌈 SEE ALSO

abbtr-info(1), abbtr User Manual (/usr/share/doc/abbtr/abbtr.1) πŸ“–

Packaging tools: debhelper(7), dh_make(8), dpkg-buildpackage(1) πŸ› οΈ


🫢 AUTHORS

Originally written by Manuel Guerra <ar.manuelguerra@gmail.com> πŸ’–

Please use the email address <ar.manuelguerra@gmail.com> for abbtr-related comments ✨


Copyright Β© 2024 Manuel Guerra πŸ’…

License: BSD-3-Clause

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the names of the authors nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Bestie, that's the whole thing πŸ’– Version 1.0.4 from August 2024, signing off with a kiss πŸ’‹πŸ¦‹βœ¨

πŸ“¦ where this page comes from