Skip to content

Instantly share code, notes, and snippets.

@Tazminia
Tazminia / .gitconfig
Created December 12, 2023 15:22
Path based git configuration
######################################
# Content of ~/.gitconfig #
######################################
[includeIf "gitdir:~/personal/"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/work/"]
path = ~/.gitconfig-work
######################################
# Content of ~/.gitconfig-personal #
@Tazminia
Tazminia / macos-devops-setup.sh
Last active March 15, 2023 13:56
MacOs initial setup (devops)
# install homebrew, check: https://brew.sh/index_fr
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install oh-my-zsh, check: https://ohmyz.sh/#install
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install oh-my-zsh theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# update theme