rcm
rcm copied to clipboard
mkrc Suggested improvements (mkrc 改进建议)
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
config
will not find the shell
(config
找不到shell
)
As far as I can tell, this should be fixed by #252.