cd ~ && git clone [email protected]:thedustin/dotfiles.git
cd ~ && ln -s dotfiles/.{aliases,bash_profile,bash_prompt,bashrc,dircolors,exports,functions,inputrc} .
Just create a symlink to the settings.json
:
cd ~/Library/Application\ Support/Code/User && ln -s ~/dotfiles/vscode/settings.json
My global .gitignore
file for common non-versioned files like macOS .DS_Store
and so on.
mkdir -p ~/.git_core/
touch ~/.git_core/.gitignore
git config --global core.excludesfile ~/.git_core/.gitignore
# Optional: copy template/base
cd ~/dotfiles/git/ && cp ./.gitignore.dist ~/.git_core/.gitignore
# List all existing aliases
git config --global --get-regex ^alias\.
# Create our aliases
git config --global alias.stauts status
git config --global alias.dff diff
git config --global alias.pul pull
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
My favorite terminal theme ist Smyck (this way I don‘t need to search for it again and again…)