Skip to content
Tadej Panjtar edited this page Nov 1, 2019 · 2 revisions

About

This script eliminates to use long install instructions how to install this on this and tutorial like https://www.maketecheasier.com/install-software-in-various-linux-distros/

FAQ

Structure

Explanation how those scripts works for new comers.

When interactive bash script runs it load (source) all *.bash scripts under ~/.bash4all/core/ folder. There are aliases and functions that works across all modes.

Mode is task oriented "micro environmant" which are loader on demand. They are located in ~/.bash4all/modes/ folder. And for each mode there is .mode.bash file. Modes are resposnible for setting and cleanup aliases and functions. This is done by lines containing 'unalias' 'unset', but not containing 'PS_MODE'

Modes which contains subcommands must contain 'case' block.

Various bash features

Various bash

Ctrl + Alt + e will Expand alias.

Events

Repeat last command

!!

gut pull

command not found or something

And you correct with search replace previous event. Syntax is ^search_str^replace_str^ .

^u^i
git pull
# corrected command
Clone this wiki locally