1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

dotfilesの世界をパクってみた

1
Last updated at Posted at 2019-12-08

dotfilesの世界をパクってみた

はじめに

ようこそdotfilesの世界へを参考に、Windows上での環境整備を始めてみた。ツールとしては、gitとCMD Batch、robocopyを使用。ディレクトリ構造としてはいったんこのような構造で。

  • Backgrounds
  • Icons
  • Scripts
  • dot
  • WindowsTerminal
  • ConsoleZ

BackgroundsはWindowsTerminalの壁紙を格納、%USERPROFILE%のPictures\Backgroundsに展開。IconsはWindowsTerminalのアイコンを格納、%USERPROFILE%のPictures\Iconsに展開する。Scriptsは環境の展開用のCMD Batchを格納している。dotには%USERPROFILE%以下に展開される、ドットファイルを格納。ConsoleZとWindowsTerminalはそれぞれ、ConsoleZとWindows Terminalの設定ファイルを格納してる。

現在の、deploy.batはこのような内容。

copy ..\WindowsTerminal\profiles.json %USERPROFILE%\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\profiles.json
copy ..\ConsoleZ\console.xml %USERPROFILE%\AppData\Roaming\Console\console.xml
copy ..\dot\.nyagos %USERPROFILE%\.nyagos
robocopy ..\Backgrounds %USERPROFILE%\Pictures\Backgrounds /e
robocopy ..\Icons %USERPROFILE%\Pictures\Icons /e
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?