Skip to content

Instantly share code, notes, and snippets.

@dhess
Created March 30, 2018 18:08
Show Gist options
  • Select an option

  • Save dhess/dc09c744c8b9b58f83ccd74a707ef060 to your computer and use it in GitHub Desktop.

Select an option

Save dhess/dc09c744c8b9b58f83ccd74a707ef060 to your computer and use it in GitHub Desktop.
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM"
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
if test -e /etc/static/bashrc; then . /etc/static/bashrc; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment