shells/zsh: remove PATH inherited from kitty/qtile
This commit is contained in:
parent
a1ac987a95
commit
f8d784fa45
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@
|
|||
\cat ~/TODO.txt
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$(basename "$(readlink "/proc/$PPID/exe")")" == ".kitty-wrapped" ]]; then
|
||||
PATH=$(echo "$PATH" | sed 's/\/nix\/store\/[a-zA-Z._0-9-]\+\/bin:\?//g' | sed 's/:$//')
|
||||
fi
|
||||
'';
|
||||
|
||||
dotDir = ".config/zsh";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue