I made this so that I don't have to maintain my aliases across my $profile, .bashrc, and .zshrc when I swap shells. Let me know what you think about it!
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?
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
Neat! As an alternative, `home manager (nix)` has an abstraction for defining shell alias[^1] regardless of which shell you use. The main requirement is that home manager also manages your shell for you.
[^1]: https://nix-community.github.io/home-manager/options.xhtml#o...
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.
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
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/