Skip to content

Version of the GNU Bourne Again shell extended with two-panel file manager.

License

Notifications You must be signed in to change notification settings

iharris/bash-commander

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash Commander is a fork of GNU Bourne Again Shell. It's main feature is a visual two-panel mode, much like Midnight Commander and other text-mode visual shells.

bashc

By default, Bash Commander behaves exactly like traditional bash, so it's safe to install it as a system-wide /bin/sh. File panels are enabled only in interactive mode, when an environment variable COMMANDER is set. It is recommended to add the following lines to your ~/.bashrc script:

declare -x EDITOR="le"
declare -x VIEWER="le --read-only"
. /usr/local/etc/bash_commander

Bash Commander also has scripting capabilities. When function keys F1-F12 are pressed, it calls a shell function with appropriate name like commander_f1(), in case it is defined. When is pressed, a function commander_start_file() is called with a parameter - a name of the file. You can define the functions in your ~/.bashrc file. See /usr/local/etc/bash_commander as an example.

When building Bach Commander from sources, make sure the ncurses library is installed. On Ubuntu, you can install it by:

sudo apt-get install libncursesw5-dev

Best wishes,

--Serge Vakulenko

About

Version of the GNU Bourne Again shell extended with two-panel file manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.6%
  • Bison 4.0%
  • Shell 3.3%
  • Perl 3.2%
  • C++ 0.5%
  • HTML 0.4%