mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 14:47:31 +00:00
f3dff521f7e3bf6f5567398340aca3a56681ce69
prettier was being detected by nvim and run with default configuration in projects that it shouldn't have run in. Because of that the package should be installed only project by project basis.
.dotfiles
Welcome to ivuorinen's .dotfiles repository. It's a hodgepodge of scripts and configurations, tests and mistakes I'm not aware of yet. As I find more interesting tools, configs and other stuff, this repository will live accordingly.
Please for the love of everything good do not use these 1:1 as your own dotfiles, fork or download the repo as a zip and go from there with your own configs.
Setup
First time setup
- Clone this repository to
$HOME/.dotfiles ./install- ???
- Profit
Interesting files and locations
Interesting folders
| Path | Description |
|---|---|
.github |
GitHub Repository configuration files. |
hosts/{hostname}/ |
Configs that should apply to that host only. |
local/bin |
Helper scripts that I've collected or wrote. |
scripts |
Setup scripts. |
dotfile folders
| Repo | Destination | Description |
|---|---|---|
base/ |
.* |
$HOME level files. |
config/ |
.config/ |
Configurations for applications. |
local/ |
.local/ |
XDG Base folder: bin, share and state |
ssh/ |
.ssh/ |
SSH Configurations. |
dfm - the dotfiles manager
.local/bin/dfm is a shell script that has some tools that help with dotfiles management.
Configuration
The folder structure follows XDG Base Directory Specification where possible.
XDG Variables
| Var | Default |
|---|---|
$XDG_DATA_HOME |
$HOME/.local/share |
$XDG_STATE_HOME |
$HOME/.local/state |
$XDG_CONFIG_HOME |
$HOME/.config |
$XDG_BIN_HOME |
$HOME/.local/bin |
$XDG_BIN_HOMEis a customenvfor.local/binfolder.$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 ':'.
Interesting links
Interesting dotfiles repos
- dotfiles.github.io/inspiration/
- frdmn/dotfiles - Ansible-based dotfile setup for macOS
- mvdan/dotfiles - Here be dragons
- vsouza/dotfiles - 🏡 My dotfiles
- freekmurze/dotfiles - My personal dotfiles
Description
Languages
Lua
43%
Shell
41.1%
Vim Script
7.4%
Python
2.6%
Perl
2.5%
Other
3.3%