3 ms·
~/.bash_profile is the macOS equivalent of a .bashrc It's also possible that the author is source-ing it (spelled that way intentionally :\) ) from another fil
by JonathanMerklin 8y ago
~/.bash_profile is the macOS equivalent of a .bashrc
It's also possible that the author is source-ing it (spelled that way intentionally :\) ) from another file in their .bash_profile
Note also that the author of the comment above was fast and loose with their description of dlm, and if you copypaste it as-written, it'll bomb. (Perhaps obvious, but you did ask where to put it!)
- yesenadam 8y agoAh thank u, yes, sorry. I have dlm saved as a shell script file. I didn't paste here the first-line bash shebang, which would have made that clearer. Maybe I use most: alias ..='cd ../' Then ".." moves up to the parent directory.