My dotfiles for macOS Catalina and Ubuntu 18.04.
# see https://stackoverflow.com/questions/15371925/how-to-check-if-command-line-tools-is-installed
$ if ! xcode-select -p 1>/dev/null; then xcode-select --install; fi
$ git clone https://github.com/ahuglajbclajep/dotfiles.git ~/.dotfiles && ~/.dotfiles/install.sh
Note: if you use GNOME Terminal, you need to configure your profile to start it as a login shell.
$ sudo apt-get install build-essential curl file git # if you want to install Homebrew
$ git clone https://github.com/ahuglajbclajep/dotfiles.git ~/.dotfiles && ~/.dotfiles/install.sh
# see https://github.com/zsh-users/zsh-completions/issues/433
$ compaudit | xargs sudo chmod -R 755
> $h=wsl wslpath ($HOME -replace '\\','/'); bash -c "git clone https://github.com/ahuglajbclajep/dotfiles.git $h/.dotfiles && $h/.dotfiles/install.sh"
> ~/.dotfiles/windows/install.bat
You can share files between different distributions via folders in Windows, like ln -s ${DOTFILES_ROOT%/*}/workspace ~/workspace
.
$ git pull