Skip to content

Instantly share code, notes, and snippets.

@junaruga
Created November 18, 2021 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junaruga/a8d6789ebf38042f84d653f285f54916 to your computer and use it in GitHub Desktop.
Save junaruga/a8d6789ebf38042f84d653f285f54916 to your computer and use it in GitHub Desktop.
Fedora 35 original bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment