[ZSH][NVIM] Treat LC_OSC52=1 as personal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eff5309ae9
commit
6522f993e1
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")) || (index(['fabian', 'ising', 'fi545621'], $SUDO_USER) >= 0))
|
||||
if ((!filereadable(stdpath('config') . "/.shared_config")) || (index(['fabian', 'ising', 'fi545621'], $SUDO_USER) >= 0) || ($LC_OSC52 == '1'))
|
||||
let shared_config = 0
|
||||
else
|
||||
let shared_config = 1
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
||||
[[ -z $SSH_AUTH_SOCK ]] || export FORWARD_SOCK=$SSH_AUTH_SOCK
|
||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||
|
||||
if [[ -f ~/.zsh/.shared_config && "$SUDO_USER" != (fabian|ising|fi545621) ]]; then
|
||||
if [[ -f ~/.zsh/.shared_config && "$SUDO_USER" != (fabian|ising|fi545621) && "$LC_OSC52" != "1" ]]; then
|
||||
shared_config=1
|
||||
else
|
||||
shared_config=0
|
||||
|
||||
Reference in new issue
Block a user