These are my dotfiles.
Managed with Rotz.
-
Prerequisites programs:
git
rotz
-
Clone and deploy:
rotz clone git@github.com:t-mart/dotfiles.git
People that aren't me should use
https://github.com/t-mart/dotfiles.git
. -
For my nushell config to work, create a
~/profile.nu
, which can be empty.touch ~/profile.nu
See relevant section in env.nu for more details.
-
(Optional) Set "global" environment variables:
To set environment variables permanently for programs (including those launched from the desktop environment), global environment variables should be set according to the operating system's methods.
This step is important because the dotfiles may be deployed to paths that correlated to these environment variables (e.g.,
XDG_CONFIG_HOME
). See XDG Variables for the values that should be set.-
Windows:
pwsh ~/.dotfiles/env/windows.ps1
(see source for details)
-
Others
Not yet implemented. On Ubuntu,
~/.profile
would be a good place to put these.
-
-
Deploy (symlink):
rotz link
Rotz puts this repository in ~/.dotfiles
. It can be managed just like any
other git repository (e.g., git pull
or git push
).
XDG variables should be set to the following values:
XDG_CACHE_HOME
:<HOME_DIR>/.cache
XDG_CONFIG_HOME
:<HOME_DIR>/.config
XDG_DATA_HOME
:<HOME_DIR>/.local/share
XDG_STATE_HOME
:<HOME_DIR>/.local/state
<HOME_DIR>
should be replaced with the absolute path to the user's home
directory.