aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-gui.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/init-gui.el b/modules/init-gui.el
index 7b83c4b..b5cb49a 100644
--- a/modules/init-gui.el
+++ b/modules/init-gui.el
@@ -83,12 +83,12 @@
browse-url-generic-program "iceweasel-uxp")
;;----------------------------------------------------------------------------
-;; sudo open file option
+;; doas open file option
;;----------------------------------------------------------------------------
-(defun sudo-find-file (file-name)
+(defun doas-find-file (file-name)
"Like find file, but opens the file as root."
- (interactive "FSudo Find File: ")
- (let ((tramp-file-name (concat "/sudo::" (expand-file-name file-name))))
+ (interactive "FDoas Find File: ")
+ (let ((tramp-file-name (concat "/doas::" (expand-file-name file-name))))
(find-file tramp-file-name)))
;;----------------------------------------------------------------------------