When I added a dotfiles with mkrc, after some time I need to create more configuration files in the same directory, and now I need to add the new files to dotfiles for management, I used mkrc to add the whole directory again, and then the already added The configuration file is added again and the final file is not accessible. It is recommended to add a check to filter previously added configuration files.
(当我使用 mkrc 添加了一个 dotfiles 后,过了一段时间又需要在同一个目录下新建了多个配置文件,现在需要将后面新建的文件加入到 dotfiles进行管理,我使用了 mkrc 又将整个目录进行了一次添加,这时就会将已经添加过的配置文件再次添加,访问不到最终文件。建议添加一个检查,用于过滤以前添加过的配置文件。)
Process (过程):
mkrc -t test .config/test
ls -l .config/test
... config -> ~/.dotfiles/tag-test/config/test/config
ls -l .dotfiles/tag-test/config/test/
... config
touch .cofig/shell
mkrc -t test .config/test
ls -l .config/test
... config -> ~/.dotfiles/tag-test/config/test/config
... test/
ls -l .config/test/test/
... config -> ~/.dotfiles/tag-test/config/test/test/config
... shell -> ~/.dotfiles/tag-test/config/test/test/shell
ls -l .dotfiles/tag-test/config/test/
... config
... test/
ls -l .dotfiles/tag-test/config/test/test
... config -> /home/eonun/.dotfiles/tag-test/config/test/config
... shell
When I added a
dotfiles
withmkrc
, after some time I need to create more configuration files in the same directory, and now I need to add the new files todotfiles
for management, I usedmkrc
to add the whole directory again, and then the already added The configuration file is added again and the final file is not accessible. It is recommended to add a check to filter previously added configuration files. (当我使用mkrc
添加了一个dotfiles
后,过了一段时间又需要在同一个目录下新建了多个配置文件,现在需要将后面新建的文件加入到dotfiles
进行管理,我使用了mkrc
又将整个目录进行了一次添加,这时就会将已经添加过的配置文件再次添加,访问不到最终文件。建议添加一个检查,用于过滤以前添加过的配置文件。)Process (过程):
config
will not find theshell
(config
找不到shell
)