admin管理员组

文章数量:1221291

So I have been using mac from some time and a weird thing I noticed is when I opened .zshrc, It has hundreds of sus lines which I have not set up. The format of those are:

export PATH=/opt/homebrew/bin:/Users/rakesh/.vscode/extensions/ms-python.python-2024.22.2-darwin-arm64/python_files/deactivate/zsh:/Users/rakesh/projects/CleverQuery/ccenv/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/opt/homebrew/bin:/Users/rakesh/.vscode/extensions/ms-python.python-2024.22.2-darwin-arm64/python_files/deactivate/zsh:/Users/rakesh/ekacare/eka/venv/bin:/Users/rakesh/projects/CleverQuery/ccenv/bin:/Users/rakesh/Library/Application:/Users/rakesh/Library/Application
export PATH=/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin

Now after deleting them, many more keep appending one by one. Can anybody tell me what's going on here?

My system: Macbook Air M1 (2020) Oh-my-zsh Warp (Terminal)

I tried deleting them, thought it would be alright but after some minutes, new lines of such lines were there.

本文标签: macoszshrc is appending anonymous pathsgetting me worriedStack Overflow