fixed dir expansion for urxvt command
This commit is contained in:
parent
b5e9fe3dc4
commit
2511987c47
3
conf.org
3
conf.org
|
@ -343,7 +343,8 @@ multiple files at once for given MIMETYPE."
|
||||||
(defun nd/open-urxvt ()
|
(defun nd/open-urxvt ()
|
||||||
"Launch urxvt in the current directory."
|
"Launch urxvt in the current directory."
|
||||||
(interactive)
|
(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
|
#+END_SRC
|
||||||
* completion
|
* completion
|
||||||
** company
|
** company
|
||||||
|
|
Loading…
Reference in New Issue