[Vimprobable-users] Improve handling of file parameters
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
|
From: Morgan H. <mt...@gm...> - 2013-02-21 08:53:21
|
Greetings, I look at a lot of test generated html output and the like, so I frequently hit problems with file paths. Because of the URI, things would only open properly if I provided a full path, or something that would be expanded by the shell into a full path such as ~/html/index.html. Modified to use realpath() to fix this issue. It would also fail to detect file parameters without a "/" in the path (e.g. "index.html"), so changed to use stat() instead of looking for "/" or "./" when determining if an argument is a file. This takes care of any issues I have run into with using vimprobable to view local files. Regards, Morgan |