You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

.dotfiles

My debian-based/arch compatible server/root account dotfiles.

Required

  • lsd
  • git
  • tmux
  • neovim
  • zsh (highly recommended) (change shell with: chsh -s /bin/zsh)
  • sc-im (recommended)

Debian-based Systems

Arch-based Systems

  • Get the yay-AUR-pckagemanager or something similar (pacman -S yay).
  • yay -S lsd git tmux neovim zsh sc-im

Migration of my dotfiles to other system

set alias in .bashrc

alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

clone this repository

git clone --bare https://github.com/tiyn/dotfiles $HOME/.dotfiles

checkout changes

config checkout server

backup old files

config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}

checkout changes

config checkout server -f

set showUntrackedFiles to no

config config --local status.showUntrackedFiles no

pull current setup

config pull --set-upstream origin server