It would probably be easier to just canonicalise all path names given on the 
command line and then cd / before starting work. Apart from the possibility of 
a relative pathname on the command line there's no benefit in restoring the 
directory.
-- 
Sent from my Huawei Mate 9 with K-9 Mail.

Reply via email to