Skip to content

SR-G/dotfiles

Repository files navigation

dotfiles

Personal set of linux dotfiles / configuration files, handled through chezmoi

Regular commands

  • Initial installation :
# Manual installation
cd /home/
sh -c "$(curl -fsLS git.io/chezmoi)"

# OS installation
pacman -S chezmoi
apt-get install -y chezmoi

# Setup (manual) + retrieve online files from github.com/<user>/dotfiles/
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply SR-G
  • Download dotfiles on a new server :
chezmoi init --apply SR-G
  • Add files :
chezmoi add <filename>
chezmoi add --encrypt <filename>
chezmoi edit <filename>
  • Init remote URL (after init) :
git remote add origin https://github.com/SR-G/dotfiles
  • Commit added files :
chezmoi cd
git add . && git commit -m"Updates" && git push origin master
exit
  • Check, compare, apply :
chezmoi doctor
chezmoi diff
chezmoi -v apply

TODO

  • abcde configuration
  • eclipse configuration + plugins ?
  • .m2 maven configuration
  • geany / notepadqq configuration
  • ssh config
  • task configuration and aliases
  • terminator configuration ?
  • micro configuration https://micro-editor.github.io/
  • rclone safe configuration

Misc

Git configuration

Reminder of manual GIT configuration

export VISUAL=vim
export EDITOR="$VISUAL"

git config --global user.name "SR-G"
git config --global user.email "serge.simon@gmail.com"

# Git cache on file (unencrypted)
git config --global credential.helper store

# Git cache in memory (with 1 year timeout (in seconds))
# git config --global credential.helper 'cache --timeout=31536000'

yay install

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Extra tools

Extra links

About

Personal set of linux dotfiles / configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published