Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.25 KB

LaunchOrder.md

File metadata and controls

24 lines (18 loc) · 1.25 KB

all zsh file launch order

This is out of date, the new launch order is at next section. v0.2.0

graph TD;

vscode ==(inject PROJECT_FOLDER and check settings.json)==> source.zsh(.vscode/source.zsh)
source.zsh ==(1.source env.zsh)==> source.zsh_enved(.vscode/source.zsh)  ==(2.Check Mode)==> source.zsh_mode(.vscode/source.zsh) ==> source.zsh_call_zsh(.vscode/source.zsh) & node(execute other commands like netcat handler)
source.zsh_call_zsh(.vscode/source.zsh) ==(exec zsh -i)==> home_zshrc(~/.zshrc)
home_zshrc ==(contains weapon_vscode_launch_helper function)==> home_zshrc_call_helper(~/.zshrc)
home_zshrc_call_helper ==(if set env PROJECT_FOLDER and file .vscode/.zshrc exists, source it)==> execute_project_folder_zshrc(.vscode/.zshrc)
Loading

new zsh launch order

This is the new launch order for zsh files in vscode terminal.

graph TD;
vscode ==(inject PROJECT_FOLDER and check settings.json)==>  homezshrc ==(~/.zshrc)==> LaunchHelper(code in launch_helper.zsh and packed createhackenv.sh) ==(PROJECT_FOLDER is set!)==> zshrc(.vscode/.zshrc)
zshrc ==(1.source env.zsh)==> zshrc_enved(.vscode/.zshrc)  ==(2.Check Mode)==> zshrc_mode(.vscode/.zshrc) ==> zshrc_call_zsh(.vscode/.zshrc) & node(execute other commands like netcat handler)
Loading