mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
6190be3bdd98b90f21e3f89aa504d12f484e8429
.dotfiles
The folder structure follows XDG Base Directory Specification where possible.
Setup
rcrc
Update install script
rcup -B 0 -g > ~/.dotfiles/install.sh | shfmt -w -l ~/.dotfiles/install.sh
brew
Install everything described in Brewfile
brew bundle install --force --file=~/.dotfiles/Brewfile
Update Brewfile
brew bundle dump --force --file=~/.dotfiles/Brewfile --describe
Enable automatic brew updates and upgrades.
brew autoupdate start 43200 --upgrade --cleanup --immediate
XDG Variables
| Var | Default |
|---|---|
| Executables | $HOME/.local/bin |
$XDG_DATA_HOME |
$HOME/.local/share |
$XDG_STATE_HOME |
$HOME/.local/state |
$XDG_CONFIG_HOME |
$HOME/.config |
$XDG_DATA_HOMEdefines the base directory relative to which user-specific data files should be stored. If$XDG_DATA_HOMEis either not set or empty, a default equal to$HOME/.local/shareshould be used.$XDG_CONFIG_HOMEdefines the base directory relative to which user-specific configuration files should be stored. If$XDG_CONFIG_HOMEis either not set or empty, a default equal to$HOME/.configshould be used.$XDG_STATE_HOMEdefines the base directory relative to which user-specific state files should be stored. If$XDG_STATE_HOMEis either not set or empty, a default equal to$HOME/.local/stateshould be used.- The
$XDG_STATE_HOMEcontains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in$XDG_DATA_HOME. It may contain:- actions history (logs, history, recently used files, …)
- current state of the application that can be reused on a restart (view, layout, open files, undo history, …)
- User-specific executable files may be stored in
$HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX$PATHenvironment variable, at an appropriate place. $XDG_DATA_DIRSdefines the preference-ordered set of base directories to search for data files in addition to the$XDG_DATA_HOMEbase directory. The directories in$XDG_DATA_DIRSshould be seperated with a colon ':'.
Description
Languages
Lua
43%
Shell
41.1%
Vim Script
7.4%
Python
2.6%
Perl
2.5%
Other
3.3%