ctippett 12 days ago

Not to detract from OP's project, but I only noticed today that Atuin[1] also now has a feature that synchronises aliases (in addition to your shell history). I self-host an Atuin server and it's been super helpful being able to ctrl-r and find a command I ran on another machine.

Does this project facilitate synchronising aliases across devices as well as across shells or is the idea you'd use something like Syncthing to achieve the former?

[1] https://docs.atuin.sh/guide/dotfiles/

  • cpendery 11 days ago

    Oh that's super cool, I didn't know atuin supported aliases. This project doesn't support syncing across devices (I was planning on adding it if there was interest), but it seems like atuin is probably a better fit for users since it's already e2e and easily self-hostable

alanbernstein 12 days ago

Just curious, why do you find yourself switching shells often?

  • ktm5j 12 days ago

    I almost always use zsh, but occasionally have a reason to switch back to bash. It's so infrequent that I can't even think of a good example.. but I put all of my aliases and functions in ~/.profile and make sure that my bashrc and zshrc explicitly source so I have them all in either shell.

    • cpendery 11 days ago

      That's smart, I switch between powershell & git-bash so this helps since they don't the same way of defining aliases

  • cpendery 11 days ago

    I maintain inshellisense & I've been contributing some features to VSCode's terminal which both require in switching a lot between shells for testing. I kept trying to run my git specific aliases in other shells and decided to make this to unify them