WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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