Skip to content

Customize development environment and automate repetitive tasks in UNIX-like system

Notifications You must be signed in to change notification settings

nhathadt11/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

syncdotfiles() {
  dotfiles=(gitconfig gitlocal zshrc zshlocal ssh/config)

  for f in ${dotfiles[*]}; do
    if test -f "$HOME/.$f"; then
      mv $HOME/.$f $HOME/.$f.bak
    fi

    ln -s $PWD/.$f $HOME/.$f
  done
}

syncdotfiles

About

Customize development environment and automate repetitive tasks in UNIX-like system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published