mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-04 00:18:44 +00:00
71 lines
1.7 KiB
YAML
71 lines
1.7 KiB
YAML
## TODO:
|
|
## cask_personal using some variable?
|
|
|
|
- defaults:
|
|
link:
|
|
relink: true
|
|
|
|
- clean: ['~']
|
|
|
|
- create:
|
|
- ~/.config/bash
|
|
- ~/.config/tmux
|
|
- ~/.vim/undo-history
|
|
|
|
- link:
|
|
~/.gitconfig: home/gitconfig
|
|
~/.git-completion.bash: home/config/bash/git-completion.bash
|
|
~/.git-prompt-colors.sh: home/config/bash/git-prompt-colors.sh
|
|
|
|
~/.bashrc: home/bashrc
|
|
~/.config/bash/.bash_profile: home/config/bash/bash_profile
|
|
|
|
# apps
|
|
~/.config/alacritty: home/config/alacritty
|
|
~/.config/btop: home/config/btop
|
|
|
|
# tmux
|
|
~/.tmux.conf: home/tmux.conf
|
|
~/.config/tmux/themes: home/config/tmux/themes
|
|
|
|
~/.config/.aliases: home/config/aliases
|
|
|
|
~/.vim : home/vim
|
|
~/.vimrc: home/vimrc
|
|
|
|
~/.zshenv: home/zshenv
|
|
~/.config/zsh: home/config/zsh
|
|
|
|
# mac os
|
|
~/.hushlogin:
|
|
if: '[ `uname` = Darwin ]'
|
|
path: macos/hushlogin
|
|
|
|
- shell:
|
|
- git submodule sync --recursive
|
|
# the following have to run after linking ~/.gitconfig
|
|
- git update-submodules
|
|
- >
|
|
git cleanall -f
|
|
home/config/tmux/plugins
|
|
home/config/bash/bash-git-prompt
|
|
home/config/zsh/plugins
|
|
home/vim/bundle/
|
|
|
|
# install BD zsh plugin - this needs to happen after the cleanall
|
|
- mkdir -p ~/.config/zsh/plugins/bd
|
|
- curl https://raw.githubusercontent.com/Tarrasch/zsh-bd/master/bd.zsh > ~/.config/zsh/plugins/bd/bd.zsh
|
|
|
|
- stdin: true
|
|
stdout: true
|
|
command: >
|
|
if [ "$(uname)" = "Darwin" ]; then
|
|
./macos/install_brew.sh
|
|
brew install zsh
|
|
sudo chsh -s $(brew --prefix)/bin/zsh
|
|
brew bundle --file ./macos/Brewfile
|
|
brew bundle --file ./macos/Caskfile
|
|
|
|
./macos/macos_setup.sh
|
|
fi
|