/dotfiles

my dotfiles

Primary LanguageShellThe UnlicenseUnlicense

dotfiles

This repository contains my dotfiles and its installation script.

Requirements

Setting files expect each version or later:

  • Git 1.7.12
  • Neovim 0.8.0
  • Zsh 5.0.2
  • Bash 3.2.57
  • PowerShell 7.x
  • tmux 3.1

Optional

Installation

Zsh/Bash

The script needs zsh and optionally git for the plugins.

For zsh:

$ source <(curl -sL dot.chitoku.jp)

For bash:

$ eval "$(curl -sL dot.chitoku.jp)"

To manually install:

$ git clone https://github.com/chitoku-k/dotfiles.git
$ cd dotfiles
$ ./install

Choose whatever packages you want to install and press Enter.

Most dotfiles will follow XDG Base Directory Specification.

PowerShell

Note

In order to create a symbolic link on Windows, PowerShell needs to run either as administrator or with Developer Mode activated.
Symlinks in Windows 10! - Windows Developer Blog

> Invoke-Expression (Invoke-WebRequest dot.chitoku.jp/install.ps1)

To manually install:

> git clone https://github.com/chitoku-k/dotfiles.git
> Set-Location dotfiles
> .\install.ps1

Local Configuration

Zsh

Use $XDG_CONFIG_HOME/zsh/local/*.zsh.

Bash

Use $XDG_CONFIG_HOME/bash/local/*.bash.

tmux

Use $XDG_CONFIG_HOME/tmux/local/*.conf.

PowerShell

Use $HOME\Documents\PowerShell\local\*.ps1.

Git

Use $HOME/.gitconfig.

Prerequisites

tmux depends on environment variables as follows:

  • $XDG_CONFIG_HOME: Defaults to ~/.config
  • $XDG_DATA_HOME: Defaults to ~/.local/share