dotties/.bashrc
Andrea Rogers b53471edbd bashrc: Terminal.app improvements, aliases broken out
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 ;-)
2024-01-06 04:02:23 -06:00

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 \
;
}