3 ms·
I'm going to assume that you can edit .bashrc for these as that's the premise from the original article. You could adjust it so that it uses a central notes st
by amdavidson 9y ago
I'm going to assume that you can edit .bashrc for these as that's the premise from the original article.
You could adjust it so that it uses a central notes store on one ssh host pretty easily with something like:
notes() {
echo $1 | ssh user@remotehost "cat >> ~/notes.md"
}
then you probably need something like
read_notes() {
ssh user@remotehost "cat ~/notes.md" | more
}