.composer | ||
.config | ||
.git_template | ||
.zsh | ||
bin | ||
.gitconfig | ||
.gitignore-global | ||
.gitmessage | ||
.hushlogin | ||
.npmrc | ||
.tmux.conf | ||
.zshenv | ||
.zshrc | ||
README.md |
dotfiles
My personal dotfiles, originally for macOS only but currently being adapted for use on Linux based systems (Ubuntu and Pop!_OS in particular) where needed.
Installation
git clone --bare git@github.com:opdavies/dotfiles.git $HOME/dotfiles
git --git-dir $HOME/dotfiles --work-tree $HOME checkout
git --git-dir $HOME/dotfiles --work-tree $HOME config status.showUntrackedFiles no
Adding a config
alias
You can also set a config
alias as a wrapper for the Git command, as described within Atlassian's blog post:
alias config="git --git-dir $HOME/dotfiles --work-tree $HOME"
Adding new files
config add /path/to/file
config commit -m "Some commit message"
config push