Skip to content

clemenspeters/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Clone repo into new hidden directory:

git clone https://github.com/clemenspeters/dotfiles.git ~/.dotfiles

Create symlinks in the Home directory to the real files in the repo:

ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/.zshenv ~/.zshenv
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig

You can use .zshenv for values you don't want to commit since it's changes are ignored (using git update-index --skip-worktree .zshenv).
If you want to commit changes to that file use git update-index --no-skip-worktree .zshenv and to see all skipped files use git ls-files -v . | grep ^S.

For vscode:

ln -f -s ~/.dotfiles/.vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json
ln -f -s ~/.dotfiles/.vscode/keybindings.json ~/Library/Application\ Support/Code/User/keybindings.json

Homebrew

Install Homebrew, followed by the software listed in the Brewfile:

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor

Install applications via homebrew

brew bundle --file ~/.dotfiles/Brewfile
# ...or move to the directory first.
cd ~/.dotfiles && brew bundle

To create your own Brewfile run:

brew bundle dump --describe

To update your Brewfile run:

brew bundle dump --describe --force

Oh My Zsh

Install Oh My Zsh running:

ZSH="$HOME/.dotfiles/.oh-my-zsh" && wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh install.sh

Show all file extensions in Mac finder (might require a restart to take effect)

defaults write NSGlobalDomain AppleShowAllExtensions -bool true

Show hidden files and folders in finder

defaults write com.apple.Finder AppleShowAllFiles true && \
killall Finder

Generate ssh keypair

ssh-keygen -t rsa

Login to github

gh auth login

Authenticate to GCP

gcloud auth login
gcloud auth configure-docker

Learn more

https://www.youtube.com/watch?v=r_MpUP6aKiQ&t=227s

Credits

https://github.com/eieioxyz/Beyond-Dotfiles-in-100-Seconds

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published