You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hari Sekhon ceb7b5159a updated screen.sh 5 years ago
..
README.md updated README.md 5 years ago
aliases.sh switched to late evaluation of variables embedded in aliases 5 years ago
colors.sh added colors.sh 5 years ago
docker.sh updated docker.sh 5 years ago
env.sh added env.sh 5 years ago
functions.sh updated functions.sh 5 years ago
git.sh updated git.sh 5 years ago
gpg-agent.sh updated gpg-agent.sh 5 years ago
hg.sh added .bash.d/hg.sh 5 years ago
k8s.sh updated k8s.sh 5 years ago
kafka.sh updated kafka.sh 5 years ago
network.sh added network.sh 5 years ago
prompt.sh added prompt.sh 5 years ago
rancid.sh added rancid.sh 5 years ago
screen.sh updated screen.sh 5 years ago
spinner.sh added spinner.sh 5 years ago
ssh-agent.sh updated ssh-agent.sh 5 years ago
svn.sh updated svn.sh 5 years ago
title.sh added title.sh 5 years ago
welcome.sh added welcome.sh 5 years ago
when.sh added when.sh 5 years ago

README.md

Advanced Bashrc Code - Interactive Functions, Aliases and Shell Customizations

Advanced bashrc code I've been using for 10-15 years. This is a work-in-progress as there are thousands of lines of bashrc stuff still to sanitize and export here from my private repo.

All *.sh files in this directory are automatically sourced by .bashrc at the top level which is itself designed to be sourced in your $HOME/.bashrc.

To disable any these source files, simply rename them to not match the *.sh glob, eg. => *.sh.disabled.

  • aliases.sh - general aliases
  • functions.sh - general functions
  • ssh-agent.sh / gpg-agent.sh - auto-starts SSH and GPG agents if not already running, stores and auto-sources their details for new shells to automatically
  • <technology>.sh - functions and aliases related to interactive day-to-day use of a specific technology such a Git, Kubernetes, Kafka, Docker etc.

More script related functions can be found in the lib/ directory at the top level.