I have installed exec-path-from-shell
as well as included the following in my init.el
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
within my ~/.bash_profile
I have defined an environment variable called SOLARIS
which stores an IP address.
I run the command M-x exec-path-from-shell-copy-env (RET) SOLARIS (RET)
to 'import' the environment variable.
But when I run C-x C-f /ssh:user@$SOLARIS:
it throws out the error:
Error running timerL (error "In 'Find Files' source: 'helm-find-files-get-candidates'
(user-error \"Not a Tramp file name: \\\"/ssh:user@$SOLARIS:\\\"\")")
When I run the find-file
command using the explicit IP address instead of the environment variable, it works fine