jonaskello / dotfiles-zsh

Dotfiles for zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Dotfiles for zsh

Setup for new computer

echo ".dotfiles" >> .gitignore
git clone --bare git@github.com:jonaskello/dotfiles-zsh.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
dotfiles checkout

Edit dotfiles

Use regular git commands with dotfiles instead of git. For example:

dotfiles add .myconfig
dotfiles commit -m "Add myconfig"
dotfiles push

To update with the changes on antoher computer do:

dotfiles pull

First time setup (only when creating the repo, not needed for new computers)

git init --bare $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.bashrc

Terminal Fonts

Recommended font: Meslo Nerd Font patched for Powerlevel10k. Download these four ttf files:

Double-click on each file and click "Install". This will make MesloLGS NF font available to all applications on your system. Configure your terminal to use this font:

  • GNOME Terminal (the default Ubuntu terminal): Open Terminal → Preferences and click on the selected profile under Profiles. Check Custom font under Text Appearance and select MesloLGS NF Regular.
  • Apple Terminal: Open Terminal → Preferences → Profiles → Text, click Change under Font and select MesloLGS NF family.
  • Microsoft Terminal: Open Settings (Ctrl+,), search for fontFace and set value to MesloLGS NF for every profile. If you are using any other terminal click here for the configuration.

References

https://www.atlassian.com/git/tutorials/dotfiles

https://dev.to/pratik_kale/customise-your-terminal-using-zsh-powerlevel10k-1og5

https://github.com/kalkayan/dotfiles

https://www.youtube.com/watch?v=bTLYiNvRIVI

About

Dotfiles for zsh


Languages

Language:Shell 100.0%