Ble.sh icon
Ble.sh icon

Ble.sh

Bash Line Editor is a a full-featured line editor written in pure Bash! Syntax highlighting, auto suggestions, vim modes, etc. are available in Bash interactive sessions!.

Demo (version 0.2)

Cost / License

  • Free
  • Open Source

Application type

Platforms

  • Linux
-
No reviews
2likes
0comments
0news articles

Features

Suggest and vote on features

Properties

  1.  Lightweight

Features

  1.  Syntax Highlighting
  2.  Command line interface
  3.  Search Suggestions
  4.  Writing suggestions

 Tags

  • bash-configuration
  • line-editor
  • blesh
  • bash
  • vim-mode

Ble.sh News & Activities

Highlights All activities

Recent activities

No activities found.

Ble.sh information

  • Developed by

    akinomyoga
  • Licensing

    Open Source (BSD-3-Clause) and Free product.
  • Alternatives

    5 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

OS & Utilities

GitHub repository

  •  3,790 Stars
  •  117 Forks
  •  69 Open Issues
  •   Updated  
View on GitHub
Ble.sh was added to AlternativeTo by Nifle on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Ble.sh?

Bash Line Editor (ble.sh) is a command line editor written in pure Bash which replaces the default GNU Readline.

Features :

  • Syntax highlighting: Highlight command lines input by users as in fish and zsh-syntax-highlighting. Unlike the simple highlighting in zsh-syntax-highlighting, ble.sh performs syntactic analysis to enable the correct highlighting of complex structures such as nested command substitutions, multiple here documents, etc. Highlighting colors and styles are fully configurable.

  • Enhanced completion: Extend completion by syntax-aware completion, completion with quotes and parameter expansions in prefix texts, ambiguous candidate generation, etc. Also, menu-complete supports selection of candidates in menu (candidate list) by cursor keys, TAB and S-TAB. The feature auto-complete supports the automatic suggestion of completed texts as in fish and zsh-autosuggestions (with Bash 4.0+). The feature menu-filter integrates automatic filtering of candidates into menu completion (with Bash 4.0+). There are other functionalities such as dabbrev and sabbrev like zsh abbreviations or zsh-abbr.

  • Vim editing mode: Enhance readline's vi editing mode available with set -o vi. Vim editing mode supports various vim modes such as char/line/block visual/select mode, replace mode, command mode, operator pending mode as well as insert mode and normal mode. Vim editing mode supports various operators, text objects, registers, keyboard macros, marks, etc. It also provides vim-surround as an option.

  • Other interesting features include status line, history share, right prompt, transient prompt, xterm title, etc.

Note: ble.sh does not provide specific settings of the prompt, aliases, functions, etc. ble.sh provides a more fundamental infrastructure so that users can set up their own prompt, aliases, functions, etc. Of course ble.sh can be used in combination with other Bash configurations such as bash-it and oh-my-bash.

Official Links