dawsbot/swim

oldvimrc cyclical symlink

dawsbot opened this issue · 1 comments

Get the file that the inode points to and move that into oldvimrc.vim instead of the current method. The current method creates an infinite cycle of pointing to itself if the oldvimrc was already a symlink to oldvimrc.

example

The current method throws error if:

swim with oldvimrc
swim add <anyfile> <any alias besides oldvimrc>
swim with oldvimrc #Throws error

Not resolving unless repeated by user & fix is desired.