Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

Thanks for the developement of vifm, it's a great application.

For a symbolic link file, at present it shows the link file's size, but I'd like to show it's real target file's size, could you please help me achieve it.

If it's not available now by changing vifmrc config file, please tell me which source code file i can modify to achieve it, thanks a lot.

1 Answer

0 votes
by
 
Best answer

Glad to hear you're enjoing Vifm. There is no option for that. On non-Windows, the size is filled on this line. You want to set it from the result of stat() instead of lstat() which is actually conditionally invoked 20 lines below.

by

Really appreciated for the fast answer. I just followed your hint and made some customization, and now it works as expected.

Actually i'v been using vifm all the time for many years, it's my most loved file manager ever, thanks again for this great masterpiece.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...