[ZSH][NVIM] Treat sudo from ising and fi545621 as personal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aed2f4c5df
commit
88049f8676
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
set nocompatible
|
||||
filetype off
|
||||
|
||||
if ((!filereadable(stdpath('config') . "/.shared_config")) || (exists('$SUDO_USER') && $SUDO_USER == 'fabian'))
|
||||
if ((!filereadable(stdpath('config') . "/.shared_config")) || (index(['fabian', 'ising', 'fi545621'], $SUDO_USER) >= 0))
|
||||
let shared_config = 0
|
||||
else
|
||||
let shared_config = 1
|
||||
|
||||
Reference in new issue
Block a user