Skip to content

Generic bash initialization files with lossless history management

Notifications You must be signed in to change notification settings

marcelhuberfoo/linux-bash-env

Repository files navigation

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

About

Generic bash initialization files with lossless history management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published