All Projects → mathiasbynens → Dotfiles

mathiasbynens / Dotfiles

Licence: mit
🔧 .files, including ~/.macos — sensible hacker defaults for macOS

Programming Languages

shell
77523 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to Dotfiles

Dotfiles
My macOS environment: zsh, Git, Visual Studio Code, etc.
Stars: ✭ 405 (-98.51%)
Mutual labels:  dotfiles
Dotfiles
🖥 My workstation/laptop dotfiles.
Stars: ✭ 553 (-97.97%)
Mutual labels:  dotfiles
Dotfiles
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.
Stars: ✭ 651 (-97.61%)
Mutual labels:  dotfiles
Awesome Dotfiles
Dotfiles for awesome people using the awesomewm linux environment
Stars: ✭ 409 (-98.5%)
Mutual labels:  dotfiles
Dotfiles
Let's be honest: mostly Emacs.
Stars: ✭ 536 (-98.03%)
Mutual labels:  dotfiles
Dotfiles
Dotfiles for unix, managed by GNU stow.
Stars: ✭ 617 (-97.74%)
Mutual labels:  dotfiles
Dotfiles
My personal dotfiles
Stars: ✭ 400 (-98.53%)
Mutual labels:  dotfiles
Dot vim
🐉 The Vim Configuration of Champions. Uses Plug to manage roughly four thousand plugins. The dragon symbolizes complexity.
Stars: ✭ 660 (-97.58%)
Mutual labels:  dotfiles
Dotfiles
🍙 dotfiles
Stars: ✭ 541 (-98.02%)
Mutual labels:  dotfiles
Dotfiles
Config files for ZSH, Java, Ruby, Go, Editors, Terminals and more.
Stars: ✭ 639 (-97.66%)
Mutual labels:  dotfiles
Dotcommon
What do people have in their dotfiles?
Stars: ✭ 418 (-98.47%)
Mutual labels:  dotfiles
Dotfiles
Settings for various tools I use.
Stars: ✭ 513 (-98.12%)
Mutual labels:  dotfiles
Jarvis
Dotfiles for a powerful, web development-focused environment powered by Neovim, iTerm2, tmux, and zsh
Stars: ✭ 617 (-97.74%)
Mutual labels:  dotfiles
Dotfiles
dotfiles for the developer happiness: macos, zsh, brew, vscode, codespaces, python, node, elixir
Stars: ✭ 408 (-98.5%)
Mutual labels:  dotfiles
Termuxarch
You can use setupTermuxArch.bash 📲 to install Arch Linux in Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/TermuxArch/docs/install
Stars: ✭ 653 (-97.6%)
Mutual labels:  dotfiles
Dotfile
YiJun's (Neo)Vim work file
Stars: ✭ 402 (-98.53%)
Mutual labels:  dotfiles
Dotfiles
💾 Ian's dotfiles, utils, and Zsh/Vim/tmux configs
Stars: ✭ 554 (-97.97%)
Mutual labels:  dotfiles
Dotfiles
Dotfiles for macOS
Stars: ✭ 678 (-97.51%)
Mutual labels:  dotfiles
Awesome Dotfiles
A curated list of dotfiles resources.
Stars: ✭ 6,295 (-76.91%)
Mutual labels:  dotfiles
Dotfiles
Zsh, Karabiner, VS Code, Sublime, Neovim, Nix
Stars: ✭ 634 (-97.67%)
Mutual labels:  dotfiles

Mathias’s dotfiles

Screenshot of my shell prompt

Installation

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/Projects/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh

Git-free install

To install these dotfiles without Git:

cd; curl -#L https://github.com/mathiasbynens/dotfiles/tarball/main | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh,.osx,LICENSE-MIT.txt}

To update later on, just run that command again.

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.

Here’s an example ~/.path file that adds /usr/local/bin to the $PATH:

export PATH="/usr/local/bin:$PATH"

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

My ~/.extra looks something like this:

# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Mathias Bynens"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"

You could also use ~/.extra to override settings, functions and aliases from my dotfiles repository. It’s probably better to fork this repository instead, though.

Sensible macOS defaults

When setting up a new Mac, you may want to set some sensible macOS defaults:

./.macos

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

./brew.sh

Some of the functionality of these dotfiles depends on formulae installed by brew.sh. If you don’t plan to run brew.sh, you should look carefully through the script and manually install any particularly important ones. A good example is Bash/Git completion: the dotfiles use a special version from Homebrew.

Feedback

Suggestions/improvements welcome!

Author

twitter/mathias
Mathias Bynens

Thanks to…

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].