[NEW] bashrc: Add Mac helpers
This commit is contained in:
parent
8c00b1e2f7
commit
0a2dbe713c
2 changed files with 31 additions and 0 deletions
16
.bashrc.mac
Normal file
16
.bashrc.mac
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
alias ls='ls -G'
|
||||
|
||||
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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue