Skip to content

ton1ght/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

225 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ton1ght's config

Setup config on new machine

git clone --bare git@github.com:ton1ght/config.git $HOME/.cfg
function config {
   /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
  echo "checked out config.";
  else
    echo "backing up pre-existing dot files.";
    config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -i{} mv {} .config-backup/{}
fi;
config checkout
config config status.showuntrackedfiles no
config submodule update --init --recursive

Recommended Software

  • fzf
  • eza
  • neovim
  • ranger
  • treesitter
  • xclip (for tmux-yank)

Credits

Thanks to:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors