mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
22 lines
535 B
Bash
22 lines
535 B
Bash
if [ -n "$BASH_VERSION" ] && [ -r /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
alias ls="ls --color=auto"
|
|
alias grep="grep --color=auto"
|
|
|
|
if [ "$(id -u)" = 0 ]; then
|
|
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
else
|
|
export PATH="/usr/local/bin:/usr/bin:/bin"
|
|
fi
|
|
|
|
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
|
export XDG_CONFIG_DIRS="/etc/xdg"
|
|
|
|
if [ $(tty) == "/dev/console" ]
|
|
then
|
|
alias startwm="exec /usr/libexec/astral/startwm"
|
|
alias startnscde="exec /usr/libexec/astral/startnscde"
|
|
fi
|