RmDebArc_5 to linuxmemes@lemmy.world · 1 year agoText editor warimagemessage-square179fedilinkarrow-up1803arrow-down134file-text
arrow-up1769arrow-down1imageText editor warRmDebArc_5 to linuxmemes@lemmy.world · 1 year agomessage-square179fedilinkfile-text
minus-squareSaltyIceteaMakerlinkfedilinkarrow-up2·1 year agoI heard that it is safer to do sudoedit [file] instead of sudo [editor] [file]. At least it’s like this in vim. Idk about nano and Emacs tho
minus-squarecaseyweederman@lemmy.calinkfedilinkarrow-up1·1 year agosudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit
deleted by creator
I heard that it is safer to do sudoedit [file] instead of sudo [editor] [file]. At least it’s like this in vim. Idk about nano and Emacs tho
sudo XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=/run/user/1000/bus XAUTHORITY=/home/caseyweederman/.Xauthority gedit
deleted by creator