Added script to init dotfiles.

This commit is contained in:
Sheldon Lee 2022-02-27 20:43:04 +08:00
parent f3dd3aa7ac
commit e8a229630a

View File

@ -1,4 +1,12 @@
#!/bin/sh #!/bin/sh
# init for dotfiles.
initdots()
{
config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config checkout HEAD
source $HOME/.bashrc
}
# nnn # nnn
# for nnn file manager # for nnn file manager