These are my dotfiles. Take anything you want, but at your own risk.
It mainly targets macOS systems, but it works on at least Ubuntu as well.
Warning The Linux is not working in the moment, beacuse the $HOME will change to /root
- Minimal efforts to install everything, using a Makefile
- Mostly based around Homebrew, Cask, ASDF, NPM, latest Bash + GNU Utils
- Fast and colored prompt
- Updated macOS defaults (Dock, Systen)
- The installation and runcom setup is tested on real Ubuntu and macOS machines using a GitHub Action
- Post install
dotfiles
command line to restall, update packages, etc.
- Homebrew (packages: Brewfile)
- Homebrew Cask (packages: Caskfile)
- asdf (packages: .tool-versions)
- Vs Code (packages: VSCodefile)
- Latest Git, Bash 4, GNU coreutils, curl
On a sparkling fresh installation of macOS:
sudo softwareupdate -i -a
xcode-select --install
The Xcode Command Line Tools includes git
and make
(not available on stock macOS). Now there are two options:
- Install this repo with
curl
available:
bash -c "`curl -fsSL https://raw.githubusercontent.com/ntsd/dotfiles/master/remote-install.sh`"
This will clone or download, this repo to ~/.dotfiles
depending on the availability of git
, curl
or wget
.
- Alternatively, clone manually into the desired location:
git clone https://github.com/ntsd/dotfiles.git ~/.dotfiles
Use the Makefile to install everything listed above, and symlink runcom and config (using stow):
cd ~/.dotfiles
make
$ dotfiles help
Usage: dotfiles <command>
Commands:
help This help message
clean Clean up caches (brew)
dock Apply macOS Dock settings
macos Apply macOS system defaults
test Run tests
asdf Update asdf global packages
brew Update Homebrew/Cask packages
node Update Node packages
update Update packages and pkg managers (OS, brew, npm)
You can put your custom settings, such as Git credentials in the system/.custom
file which will be sourced from
.bash_profile
automatically. This file is in .gitignore
.
Alternatively, you can have an additional, personal dotfiles repo at ~/.extra
. The runcom .bash_profile
sources all
~/.extra/*.sh
files.
This dotfile is fork from @webpro Dotfiles.
Many thanks to the dotfiles community.