dotties/.bashrc.mac

27 lines
649 B
Text
Raw Permalink Normal View History

#!/usr/bin/env bash
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
# Make bash check its window size after a process completes
shopt -s checkwinsize
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM"
2023-11-14 19:23:52 -06:00
blsc() { alias ls='ls -G'; }
unuu-me() { PATH="$(sed 's/\/opt\/local\/libexec\/uutils://' <<<$PATH)"; blsc; }
ungnu-me() { PATH="$(sed 's/\/opt\/local\/libexec\/gnubin://' <<<$PATH)"; blsc; }
un-me() { ungnu-me; unuu-me; }
gnu-me() {
alias ls='ls --color'
PATH="/opt/local/libexec/gnubin:$PATH"
}
uu-me() {
alias ls='ls --color'
PATH="/opt/local/libexec/uutils:$PATH"
}