Add xcode-info function
This commit is contained in:
parent
f566127cb6
commit
1f8f9ed5be
2 changed files with 12 additions and 0 deletions
9
.emacs.d/to/utils.el
Normal file
9
.emacs.d/to/utils.el
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(defun to/xcode-info ()
|
||||
(interactive)
|
||||
(let ((buffer "*Xcode info*"))
|
||||
(shell-command "system_profiler SPDeveloperToolsDataType" buffer)
|
||||
(with-current-buffer buffer
|
||||
(view-mode +1)
|
||||
(select-window (get-buffer-window buffer)))))
|
||||
|
||||
(provide 'utils)
|
||||
Loading…
Add table
Add a link
Reference in a new issue