mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 04:35:46 +03:00
18 lines
426 B
Plaintext
18 lines
426 B
Plaintext
|
# 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
|
||
|
|