Syncing dotfiles
While Atuin started as a tool for syncing and searching shell history, we are building tooling for syncing dotfiles across machines, and making them easier to work with.
At the moment, we support managing and syncing of shell aliases and environment variables - with more coming soon.
The following shells are supported:
- zsh
- bash
- fish
- xonsh
Note: Atuin handles your configuration internally, so once it is installed you no longer need to edit your config files manually.
Required config
Once Atuin is setup and installed, the following is required in your config file (~/.config/atuin/config.toml
)
In a later release, this will be enabled by default.
Note: If you have not yet setup sync v2, please also add
to the same config file.
Usage
Aliases
After creating or deleting an alias, remember to restart your shell!
Creating an alias
For example, to alias k
to be kubectl
or to alias ll
to be ls -lah
Deleting an alias
Deleting an alias is as simple as:
For example, to delete the above alias k
:
Listing aliases
You can list all aliases with:
Env vars
After creating or deleting an env var, remember to restart your shell!
Creating a var
For example, to set FOO
to be bar
Vars are exported by default, but you can create a shell var like so
Deleting a var
Deleting a var is as simple as:
For example, to delete the above var FOO
:
Listing vars
You can list all vars with:
Syncing and backing up dotfiles
If you have setup sync, then running
will backup your config to the server and sync it across machines.