The Repo is for saving my local configurations for zsh, tmux and some plugins.
For Setup new machine/laptop, run following code (credit to dotfiles):
git clone --bare https://github.com/RocGod/dotfile.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";
else
echo "Backing up pre-existing dot files.";
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{}
fi;
config checkout
config config status.showUntrackedFiles no
zsh
- oh-my-zsh is used, which can be installed using following script
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- powerlevel10k is using for Theme, whihc can be installed using following script
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"
- Following Plugins are installed
- git plugin
- brew
- npm
- zsh-syntax-highlighting
- zsh-autosuggestions
yabai and skhd
- Please refer to the yabai and skhd pagefor installation
- Regarding my yabai config file, I am following the tutorial done by @josean-dev. Thank you for the great video.
sketchybar and borders
- Please refer to the sketchybar and borders page for installation
- Regarding my sketcybar config setuo, I create the config files based on the config file created by @FelixKratz and @hbthen3rd. Thank you for the sharing!