Marty Oehme
1ae92cfc2a
Removed automatic initializations of zsh functions. Fixed not calling correct folders for bash aliases, environment variables and profile settings.
20 lines
423 B
Bash
20 lines
423 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
# shellcheck disable=SC1090
|
|
|
|
CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}"
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
[ -f "$CONFDIR/sh/alias" ] && source "$CONFDIR/sh/alias"
|
|
# load additional aliases
|
|
if [ -d "$CONFDIR/sh/alias.d" ]; then
|
|
for _alias in "$CONFDIR/sh/alias.d"/*.sh; do
|
|
. "$_alias"
|
|
done
|
|
unset _alias
|
|
fi
|
|
alias ls='ls --color=auto'
|
|
PS1='[\u@\h \W]\$ '
|