fixed dir expansion for urxvt command

This commit is contained in:
petrucci4prez 2018-08-27 17:09:33 -04:00
parent b5e9fe3dc4
commit 2511987c47
1 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,8 @@ multiple files at once for given MIMETYPE."
(defun nd/open-urxvt ()
"Launch urxvt in the current directory."
(interactive)
(call-process "urxvt" nil 0 nil "-cd" default-directory))
(let ((cwd (expand-file-name default-directory)))
(call-process "urxvt" nil 0 nil "-cd" cwd)))
#+END_SRC
* completion
** company