/dotfiles-rs

MOVED: https://gitlab.com/jokeyrhyme/dotfiles-rs

Primary LanguageRustMIT LicenseMIT

dotfiles-rs badge

read my dotfiles repository and do stuff

Status

  • this project is winding down in favour of tuning as configured by my dotfiles

  • ideally, we will take the imperative code here and expose it as configuration-driven functionality over in tuning

MOVED: https://gitlab.com/jokeyrhyme/dotfiles-rs

Usage

$ cargo install jokeyrhyme-dotfiles
$ jokeyrhyme-dotfiles sync && jokeyrhyme-dotfiles update

Note that you need to "Run As Administrator" in Windows so that this tool can properly create symbolic links

Features

  • jokeyrhyme-dotfiles env:

    • export generated environment variables

    • EDITOR: nvim (preferred), vim

  • jokeyrhyme-dotfiles all:

    • copies or creates symbolic links from ~/.dotfiles into ~ for settings

    • otherwise creates and/or edits settings files in ~

    • Windows: ensures ~/bin exists in PATH

    • configures npm-merge-driver when possible

    • reads from TOML file and (un)installs/updates desired Atom packages

    • reads from TOML file and (un)installs/updates desired npm packages

    • reads from TOML file and installs/updates desired rust crates

    • reads from TOML file and (un)installs/updates desired Visual Studio Code extensions

    • (un)installs/updates tpm and desired tmux plugins

    • (un)installs/updates vim-plug and desired vim / neovim plugins

  • installs and updates the following tools:

Configuration

GITHUB_TOKEN

Generate a new GitHub Personal Access Token without any extra permissions, and set this as the value for the GITHUB_TOKEN environment variable.

This will reduce the likelihood of rate-limiting by GitHub's API.

See Also