Skip to content

philipmat/dotfiles

Repository files navigation

dotfiles

Config files and system bootstrap.

How to bootstrap it

git clone https://github.com/philipmat/dotfiles .dotfiles
cd .dotfiles/

On a *nix computer

bash install.sh

or better yet

bash install.sh --verbose --override 

On a Windows computer

Using an elevated command prompt (because mklink requires admin rights):

install.cmd /v /overide

Parameters for install script

  • -v, --verbose - verbose details about the script executions;
  • -o, --override - override existing files (default is to leave existing files alone);
  • -t, --test - does not actual perform the commands that change the file system.

To keep with traditional semantics, on Windows install.cmd also accepts /-parameters, e.g. /v or /override.

Update submodules

  1. First time: git submodule update --init --recursive
  2. Afterward: git submodule foreach git pull origin master or git submodule update --recursive --remote (after 1.8.2) or git pull --recurse-submodules (after 1.8.5).

Install VSCode Extensions

  • extensions-all.txt contains all the extensions I used over time
  • extensions-common.txt - most common extensions

Extensions have been exported with code --list-extensions and sorted case-insensitive (sort -f).

On Windows:

cat VSCode\extensions.txt | % { code --install-extension $_ }

On Linux:

cat VSCode/extensions-common.txt | xargs -L 1 code --install-extension

Install Common Programs

Windows

  • PowerShell 7
  • Scoop
  • PowerToys
  • WindowGrid
scoop install git
scoop bucket aff extras

MacOS

brew install \
  bat curlie difftastic eza \
  fd fzf fig fnm \
  gron jq neovim pyenv \
  ripgrep sqlite \
  starship tmux watch \
  glance kdiff3 rectangle \
  xz

Nerd Fonts required for starship:

brew install --cask \
  homebrew/cask-fonts/font-caskaydia-cove-nerd-font \
  homebrew/cask-fonts/font-fira-mono-nerd-font \
  homebrew/cask-fonts/font-victor-mono-nerd-font \
  homebrew/cask-fonts/font-iosevka-nerd-font \
  homebrew/cask-fonts/font-jetbrains-mono-nerd-font

Other installation steps:

  • setup fzf: $(brew --prefix)/opt/fzf/install
  • Install python: pyenv install 3.10.9
  • install nvim plugins: nvim --headless +PlugInstall +qa

Optional: nushell, xonsh

Manual install:

About

Config files and system bootstrap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published