Skip to content

SARDONYX-sard/dotfiles

dotfiles

English | 日本語

Important

This dotfiles is optimized for private use and is not recommended for direct use.

It is strongly recommended to use Use this template.

terminals

  • It does not come with a background image for the prompt.
  • We have confirmed that the files work by themselves, but we have not tested the integration, so we cannot guarantee that they work.

Table of Contents

Feature

windows feature

Author's operating environment

  • Windows11 Home
  • WSL(Ubuntu/ArchLinux)

How to install

Windows

Select either command.

  • Recommended command(The development language is put in manually.)
$env:DOTFILES_INSTALL_MODE = 'lightweight';Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-win.ps1')
  • Full size mode
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-win.ps1')

In case of an error, please execute the following command first.

Set-ExecutionPolicy RemoteSigned

Linux

Select either command.

  • Recommended command(The development language is put in manually.)
((command -v curl) >/dev/null 2>&1 && curl -sSfL https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-wsl.sh -o "/tmp/install-wsl.sh") ||
 ((command -v wget) >/dev/null 2>&1 && wget -P /tmp/ https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-wsl.sh) && bash /tmp/install-wsl.sh --light --fish
  • Full size mode
((command -v curl) >/dev/null 2>&1 && curl -sSfL https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-wsl.sh -o "/tmp/install-wsl.sh") ||
 ((command -v wget) >/dev/null 2>&1 && wget -P /tmp/ https://raw.githubusercontent.com/SARDONYX-sard/dotfiles/main/install-wsl.sh) && bash /tmp/install-wsl.sh

# Options
# --zsh: Change default shell to zsh
# --fish: Install fish shell plugin
# --light: Lightweight mode (does not automatically include the development language)

Docker

docker-compose up

Progress

  • Completed

    • Windows settings
    • Linux settings
  • Incomplete

    • Minor bug fixes
    • Unchecked reproducibility (especially WSL)
    • Add test code

Note!

  • This is the setup repository for my development environment. If you do not know what you are doing, do not run this code unnecessarily. If you run it easily, your current development environment will be overwritten by my development environment settings.

  • Some settings are in Japanese and may not be suitable for English speakers.

  • This project is based on the dotfiles project from here. A huge thanks to him...

Things you have to do manually

  • Rewrite the user name with Hard coded and comments. (Please use the search function of the editor).

  • (Use the search function of the editor.) However, since the path of scoop is currently used to find the user name of windows, if the path of scoop can be recognized by WSL, there is almost no need to rewrite it.

Windows-Terminal

  • The windows-terminal configuration file is automatically generated and is not suitable for your environment. You will need to adapt the user name and other settings to your PC.

.gitconfig

  • At least you have to rewrite the Git config username and email address. You can register by running the following command in a terminal.
git config --global user.name "Your name"
git config --global user.email "Your email address"

How it works(Too old..)

See below.

windows flow

linux-flow

Reference site

License