Skip to content

mariluski23/betterline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BetterLine

Betterline is a Bash (Bourne-again shell) line editor similar to GNU readline.

Features

  • Keybinds for everything
  • Highly-configurable
  • Vim-like editing
  • Syntax highlighting
  • History

Installation

Dependencies

  • Bash
  • A C compiler (only tested with GCC and Clang, both are recommended)

Compiling

Run:

make

Now, move the binary to a directory in your $PATH.

Note

A directory in your $PATH is a directory that is searched when you run a command.

Linux

So, in Linux, you can move the binary to /usr/local/bin by running:

sudo mv bln /usr/local/bin

MacOS

The Linux install is also valid for MacOS

Windows

Important

It is not tested on Windows, but it should work.

Now, for Windows, you do a similar thing:

mv bln.exe C:\Windows\System32 # Note that System32 is *not* something you want to mess with

Usage

Run bln to start the editor.

Misc

Test your install with bln -v.

This should print this:

:::::::.   :::                             BetterLine
 ;;;'';;'  ;;;         ======================================================
 [[[__[[\. [[[           V 0.1.0
 $$""""Y$$ $$'           By Mario Rosell and contributors | Under the GPLv3
_88o,,od8Po88oo,.__      https://github.com/mariluski23/betterline
""YUMMMP" """"YUMMM    ======================================================

Contributors

Thanks to all of these awesome people for contributing to BetterLine:

About

💫 A better line editor for Bash 💫

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages