15 lines
417 B
Bash
15 lines
417 B
Bash
# 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
|