2 karma · joined Aug 31, 2023 (3y ago) · 5 submissions
comment 1y ago · link · parent
function edit_load() {
$EDITOR $1
source $1
if [ $? -eq 0 ]
then
echo "$1 updated."
fi
}
alias aliases="edit_load ~/.bash_aliases"
# to make sure I don't add things to $PATH on each reload
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
\*)
PATH="${PATH:+$PATH:}$1"
esac
}
append_path '/blah/blah/bin'comment 2y ago · link · parent
I once commissioned a Mother's Day song from him -- sent him 10 facts about my Mom and our family and he came back a few days later with a funny and charming little tune. Best $30 I've ever spent.
[1] https://www.nytimes.com/2024/03/31/magazine/spotify-matt-far...
comment 3y ago · link · parent