Assume that the scheme for a uri is \"file\". Also assume that the path starts with \'.\'
An example path is \'./.bashrc\'. How would the fulluri look? \'file://./.
In a unix shell script I managed to go with this:
file://`pwd`/relative-path
In your particular case:
file://`pwd`/.bashrc