On the Mac terminal sessions don't seem to retain the same environment as the one that parses their .bashrc files. So, to overcome that, all aliases and PATH/variable changes are done in .profile (or files sourced by .profile). There aren't any .profiles checked in yet, but stay tuned ;-)
12 lines
289 B
Bash
12 lines
289 B
Bash
#!/usr/bin/env bash
|
|
|
|
command -v port >/dev/null &&
|
|
command -v uname >/dev/null &&
|
|
[ $(uname) == 'Darwin' ] && . /opt/local/etc/bashrc.mac
|
|
|
|
simplefind() { find . -iname '*'"$@"'*'; }
|
|
simpleplay() {
|
|
find . -iname '*'"$@"'*' -print0 \
|
|
| xargs -0 mpv --no-audio-display \
|
|
;
|
|
}
|