Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 706 Bytes

File metadata and controls

25 lines (17 loc) · 706 Bytes

linux-bash-env

Generic bash initialization files with lossless history management

basic setup

To not lose any of your shell history entries, some adjustments to your bash environment are needed. These settings are provided by a this repository given that you execute the following steps:

  1. Change back to your home directory and clone the repository

cd git clone --no-checkout https://github.com/marcelhuberfoo/linux-bash-env.git git --git-dir=linux-bash-env/.git reset --hard ~~~

  1. Save the current history in a format readable by this extension

HISTTIMEFORMAT='%Y%m%d%H%M%S: ' HISTCONTROL=ignorespace:ignoredups:erasedups history -w ~~~

  1. Relogin