Dotfiles for different machines on different branches.
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.
 
 
 
marten 58c38bd31c
Update aliasrc
2 years ago
.config Update aliasrc 2 years ago
.local/bin minor updates from non-server dotfiles 4 years ago
.bashrc moving server dotfiles to branch of dotfiles 4 years ago
.profile synced dotfiles server branch with this branch 4 years ago
.tmux.conf moving server dotfiles to branch of dotfiles 4 years ago
.vimrc moving server dotfiles to branch of dotfiles 4 years ago
.zshrc synced dotfiles server branch with this branch 4 years ago
LICENSE moving server dotfiles to branch of dotfiles 4 years ago
README.md added vim-example 2 years ago
vim-example.jpg added vim-example 2 years ago

README.md

.dotfiles

vim-example

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

Required

  • lsd
  • git
  • tmux
  • neovim
  • 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
  • optional: backup old files:
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
  • checkout changes: config checkout server
  • ignore untracked files: config config --local status.showUntrackedFiles no
  • pull current setup: config pull --set-upstream origin server
  • finish setup for vim:
    • open vim
    • :PlugInstall
    • :CocInstall
  • change shell to zsh: chsh -s /bin/zsh
    • it is possible that you're asked for a password. If so you need to change the line in /etc/pam.d/chsh from auth required pam_shells.so to auth sufficient pam_sehlls.so