machineconfig 7.50__py3-none-any.whl → 8.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of machineconfig might be problematic. Click here for more details.

Files changed (298) hide show
  1. machineconfig/cluster/remote/cloud_manager.py +1 -1
  2. machineconfig/cluster/sessions_managers/utils/maker.py +23 -11
  3. machineconfig/cluster/sessions_managers/wt_local_manager.py +22 -19
  4. machineconfig/cluster/sessions_managers/wt_remote_manager.py +3 -1
  5. machineconfig/cluster/sessions_managers/zellij_local_manager.py +3 -1
  6. machineconfig/cluster/sessions_managers/zellij_remote_manager.py +3 -2
  7. machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py +2 -2
  8. machineconfig/jobs/installer/installer_data.json +1185 -165
  9. machineconfig/jobs/installer/linux_scripts/q.sh +10 -7
  10. machineconfig/jobs/installer/linux_scripts/redis.sh +1 -0
  11. machineconfig/jobs/installer/package_groups.py +52 -84
  12. machineconfig/jobs/installer/powershell_scripts/install_fonts.ps1 +129 -34
  13. machineconfig/jobs/installer/{custom → python_scripts}/boxes.py +2 -2
  14. machineconfig/jobs/installer/{custom_dev → python_scripts}/brave.py +5 -3
  15. machineconfig/jobs/installer/python_scripts/cloudflare_warp_cli.py +23 -0
  16. machineconfig/jobs/installer/{custom_dev → python_scripts}/code.py +4 -1
  17. machineconfig/jobs/installer/{custom_dev → python_scripts}/dubdb_adbc.py +1 -1
  18. machineconfig/jobs/installer/{custom → python_scripts}/hx.py +16 -12
  19. machineconfig/jobs/installer/{custom_dev → python_scripts}/nerdfont.py +2 -2
  20. machineconfig/jobs/installer/{custom_dev → python_scripts}/nerfont_windows_helper.py +27 -22
  21. machineconfig/jobs/installer/python_scripts/sysabc.py +139 -0
  22. machineconfig/jobs/installer/{custom_dev → python_scripts}/wezterm.py +2 -19
  23. machineconfig/jobs/installer/{custom_dev → python_scripts}/winget.py +10 -14
  24. machineconfig/jobs/installer/python_scripts/yazi.py +121 -0
  25. machineconfig/{scripts/python/nw → jobs/scripts/bash_scripts}/mount_nfs +0 -1
  26. machineconfig/jobs/scripts/powershell_scripts/mount_ssh.ps1 +13 -0
  27. machineconfig/jobs/scripts/powershell_scripts/obs.ps1 +4 -0
  28. machineconfig/jobs/scripts_dynamic/a.py +25 -0
  29. machineconfig/logger.py +0 -1
  30. machineconfig/profile/create_helper.py +21 -22
  31. machineconfig/profile/create_links_export.py +25 -11
  32. machineconfig/profile/create_shell_profile.py +14 -3
  33. machineconfig/profile/mapper.toml +8 -6
  34. machineconfig/scripts/__init__.py +0 -4
  35. machineconfig/scripts/linux/wrap_mcfg +20 -21
  36. machineconfig/scripts/python/agents.py +74 -50
  37. machineconfig/scripts/python/ai/initai.py +1 -1
  38. machineconfig/scripts/python/ai/scripts/command_runner.ps1 +33 -0
  39. machineconfig/scripts/python/ai/{command_runner → scripts}/command_runner.sh +1 -1
  40. machineconfig/scripts/python/ai/scripts/lint_and_type_check.sh +1 -1
  41. machineconfig/scripts/python/ai/solutions/copilot/{chatmodes/Thinking-Beast-Mode.chatmode.md → agents/Thinking-Beast-Mode.agent.md} +0 -1
  42. machineconfig/scripts/python/ai/solutions/copilot/{chatmodes/Ultimate-Transparent-Thinking-Beast-Mode.chatmode.md → agents/Ultimate-Transparent-Thinking-Beast-Mode.agent.md} +0 -1
  43. machineconfig/scripts/python/ai/solutions/copilot/{chatmodes/deepResearch.chatmode.md → agents/deepResearch.agent.md} +2 -2
  44. machineconfig/scripts/python/ai/solutions/copilot/github_copilot.py +5 -5
  45. machineconfig/scripts/python/ai/solutions/copilot/instructions/python/dev.instructions.md +4 -0
  46. machineconfig/scripts/python/ai/solutions/copilot/instructions/python/watch_exec.prompt.md +20 -0
  47. machineconfig/scripts/python/ai/solutions/generic.py +1 -1
  48. machineconfig/scripts/python/ai/{generate_files.py → utils/generate_files.py} +2 -2
  49. machineconfig/scripts/python/cloud.py +6 -6
  50. machineconfig/scripts/python/croshell.py +67 -60
  51. machineconfig/scripts/python/devops.py +41 -21
  52. machineconfig/scripts/python/devops_navigator.py +0 -4
  53. machineconfig/scripts/python/env_manager/env_manager_tui.py +204 -0
  54. machineconfig/scripts/python/env_manager/path_manager_tui.py +1 -1
  55. machineconfig/scripts/python/fire_jobs.py +95 -67
  56. machineconfig/scripts/python/ftpx.py +44 -17
  57. machineconfig/scripts/python/helpers/ast_search.py +74 -0
  58. machineconfig/scripts/python/helpers/qr_code.py +166 -0
  59. machineconfig/scripts/python/helpers/repo_rag.py +325 -0
  60. machineconfig/scripts/python/helpers/symantic_search.py +25 -0
  61. machineconfig/scripts/python/helpers_agents/agentic_frameworks/fire_crush.json +1 -1
  62. machineconfig/scripts/python/helpers_agents/agentic_frameworks/fire_crush.py +9 -7
  63. machineconfig/scripts/python/helpers_agents/agentic_frameworks/fire_gemini.py +21 -8
  64. machineconfig/scripts/python/helpers_agents/agentic_frameworks/fire_qwen.py +0 -12
  65. machineconfig/scripts/python/helpers_agents/fire_agents_help_launch.py +30 -11
  66. machineconfig/scripts/python/helpers_agents/fire_agents_helper_types.py +9 -2
  67. machineconfig/scripts/python/helpers_agents/privacy/configs/aichat/config.yaml +5 -0
  68. machineconfig/scripts/python/helpers_agents/privacy/configs/aider/.aider.conf.yml +2 -0
  69. machineconfig/scripts/python/helpers_agents/privacy/configs/copilot/config.yml +1 -0
  70. machineconfig/scripts/python/helpers_agents/privacy/configs/crush/crush.json +10 -0
  71. machineconfig/scripts/python/helpers_agents/privacy/configs/gemini/settings.json +12 -0
  72. machineconfig/scripts/python/helpers_agents/privacy/privacy.py +109 -0
  73. machineconfig/scripts/python/helpers_agents/templates/prompt.txt +8 -4
  74. machineconfig/scripts/python/helpers_agents/templates/template.sh +18 -8
  75. machineconfig/scripts/python/helpers_cloud/cloud_copy.py +28 -21
  76. machineconfig/scripts/python/helpers_cloud/cloud_helpers.py +1 -1
  77. machineconfig/scripts/python/helpers_cloud/cloud_mount.py +19 -17
  78. machineconfig/scripts/python/helpers_cloud/cloud_sync.py +8 -7
  79. machineconfig/scripts/python/helpers_croshell/crosh.py +3 -3
  80. machineconfig/scripts/python/helpers_croshell/start_slidev.py +6 -7
  81. machineconfig/scripts/python/helpers_devops/cli_config.py +19 -25
  82. machineconfig/scripts/python/helpers_devops/cli_config_dotfile.py +22 -13
  83. machineconfig/scripts/python/helpers_devops/cli_nw.py +113 -26
  84. machineconfig/scripts/python/helpers_devops/cli_repos.py +37 -11
  85. machineconfig/scripts/python/helpers_devops/cli_self.py +95 -42
  86. machineconfig/scripts/python/helpers_devops/cli_share_file.py +9 -9
  87. machineconfig/scripts/python/helpers_devops/cli_share_server.py +13 -12
  88. machineconfig/scripts/python/helpers_devops/{cli_terminal.py → cli_share_terminal.py} +15 -17
  89. machineconfig/scripts/python/helpers_devops/devops_backup_retrieve.py +4 -4
  90. machineconfig/scripts/python/helpers_devops/devops_status.py +7 -19
  91. machineconfig/scripts/python/helpers_devops/run_script.py +180 -0
  92. machineconfig/scripts/python/helpers_devops/themes/choose_wezterm_theme.py +1 -1
  93. machineconfig/scripts/python/helpers_fire_command/file_wrangler.py +2 -19
  94. machineconfig/scripts/python/helpers_fire_command/fire_jobs_args_helper.py +1 -0
  95. machineconfig/scripts/python/helpers_fire_command/fire_jobs_route_helper.py +25 -15
  96. machineconfig/scripts/python/helpers_msearch/scripts_linux/fzfg +3 -3
  97. machineconfig/scripts/python/helpers_msearch/scripts_windows/fzfg.ps1 +58 -1
  98. machineconfig/scripts/python/helpers_navigator/command_tree.py +50 -18
  99. machineconfig/scripts/python/helpers_network/address.py +176 -0
  100. machineconfig/scripts/python/helpers_network/address_switch.py +78 -0
  101. machineconfig/scripts/python/{nw → helpers_network}/mount_nfs.py +2 -2
  102. machineconfig/scripts/python/{nw → helpers_network}/mount_ssh.py +1 -1
  103. machineconfig/scripts/python/{nw/devops_add_identity.py → helpers_network/ssh_add_identity.py} +35 -1
  104. machineconfig/scripts/python/{nw/devops_add_ssh_key.py → helpers_network/ssh_add_ssh_key.py} +26 -7
  105. machineconfig/scripts/python/{nw → helpers_network}/ssh_debug_linux.py +7 -7
  106. machineconfig/scripts/python/{nw → helpers_network}/ssh_debug_windows.py +4 -4
  107. machineconfig/scripts/python/helpers_repos/clone.py +0 -1
  108. machineconfig/scripts/python/helpers_repos/cloud_repo_sync.py +13 -5
  109. machineconfig/scripts/python/helpers_repos/entrypoint.py +2 -1
  110. machineconfig/scripts/python/helpers_repos/record.py +2 -1
  111. machineconfig/scripts/python/helpers_repos/repo_analyzer_1.py +160 -0
  112. machineconfig/scripts/python/helpers_repos/{count_lines.py → repo_analyzer_2.py} +113 -192
  113. machineconfig/scripts/python/helpers_sessions/sessions_multiprocess.py +19 -13
  114. machineconfig/scripts/python/helpers_utils/download.py +150 -0
  115. machineconfig/scripts/python/helpers_utils/pdf.py +96 -0
  116. machineconfig/scripts/python/helpers_utils/python.py +187 -0
  117. machineconfig/scripts/python/interactive.py +30 -31
  118. machineconfig/scripts/python/{machineconfig.py → mcfg_entry.py} +4 -5
  119. machineconfig/scripts/python/msearch.py +57 -6
  120. machineconfig/scripts/python/sessions.py +100 -31
  121. machineconfig/scripts/python/terminal.py +26 -17
  122. machineconfig/scripts/python/utils.py +17 -15
  123. machineconfig/scripts/windows/wrap_mcfg.ps1 +6 -3
  124. machineconfig/settings/lf/windows/lfcd.ps1 +1 -1
  125. machineconfig/settings/linters/.ruff.toml +1 -1
  126. machineconfig/settings/shells/bash/init.sh +29 -2
  127. machineconfig/settings/shells/ipy/profiles/default/startup/playext.py +1 -1
  128. machineconfig/settings/shells/nushell/config.nu +2 -2
  129. machineconfig/settings/shells/nushell/env.nu +45 -6
  130. machineconfig/settings/shells/nushell/init.nu +282 -95
  131. machineconfig/settings/shells/pwsh/init.ps1 +1 -0
  132. machineconfig/settings/shells/wezterm/wezterm.lua +2 -0
  133. machineconfig/settings/shells/zsh/init.sh +1 -8
  134. machineconfig/settings/television/cable_unix/alias.toml +8 -0
  135. machineconfig/settings/television/cable_unix/aws-buckets.toml +14 -0
  136. machineconfig/settings/television/cable_unix/aws-instances.toml +13 -0
  137. machineconfig/settings/television/cable_unix/bash-history.toml +8 -0
  138. machineconfig/settings/television/cable_unix/channels.toml +19 -0
  139. machineconfig/settings/television/cable_unix/dirs.toml +13 -0
  140. machineconfig/settings/television/cable_unix/distrobox-list.toml +42 -0
  141. machineconfig/settings/television/cable_unix/docker-images.toml +13 -0
  142. machineconfig/settings/television/cable_unix/dotfiles.toml +11 -0
  143. machineconfig/settings/television/cable_unix/env.toml +17 -0
  144. machineconfig/settings/television/cable_unix/files.toml +11 -0
  145. machineconfig/settings/television/cable_unix/fish-history.toml +8 -0
  146. machineconfig/settings/television/cable_unix/git-branch.toml +11 -0
  147. machineconfig/settings/television/cable_unix/git-diff.toml +10 -0
  148. machineconfig/settings/television/cable_unix/git-log.toml +12 -0
  149. machineconfig/settings/television/cable_unix/git-reflog.toml +12 -0
  150. machineconfig/settings/television/cable_unix/git-repos.toml +16 -0
  151. machineconfig/settings/television/cable_unix/guix.toml +20 -0
  152. machineconfig/settings/television/cable_unix/just-recipes.toml +18 -0
  153. machineconfig/settings/television/cable_unix/k8s-deployments.toml +36 -0
  154. machineconfig/settings/television/cable_unix/k8s-pods.toml +50 -0
  155. machineconfig/settings/television/cable_unix/k8s-services.toml +36 -0
  156. machineconfig/settings/television/cable_unix/man-pages.toml +24 -0
  157. machineconfig/settings/television/cable_unix/nu-history.toml +7 -0
  158. machineconfig/settings/television/cable_unix/procs.toml +20 -0
  159. machineconfig/settings/television/cable_unix/text.toml +17 -0
  160. machineconfig/settings/television/cable_unix/tldr.toml +18 -0
  161. machineconfig/settings/television/cable_unix/zsh-history.toml +9 -0
  162. machineconfig/settings/television/cable_windows/alias.toml +7 -0
  163. machineconfig/settings/television/cable_windows/dirs.toml +13 -0
  164. machineconfig/settings/television/cable_windows/docker-images.toml +13 -0
  165. machineconfig/settings/television/cable_windows/dotfiles.toml +11 -0
  166. machineconfig/settings/television/cable_windows/env.toml +17 -0
  167. machineconfig/settings/television/cable_windows/files.toml +14 -0
  168. machineconfig/settings/television/cable_windows/git-branch.toml +11 -0
  169. machineconfig/settings/television/cable_windows/git-diff.toml +10 -0
  170. machineconfig/settings/television/cable_windows/git-log.toml +11 -0
  171. machineconfig/settings/television/cable_windows/git-reflog.toml +11 -0
  172. machineconfig/settings/television/cable_windows/git-repos.toml +15 -0
  173. machineconfig/settings/television/cable_windows/nu-history.toml +7 -0
  174. machineconfig/settings/television/cable_windows/pwsh-history.toml +6 -0
  175. machineconfig/settings/television/cable_windows/text.toml +17 -0
  176. machineconfig/settings/wt/__init__.py +0 -0
  177. machineconfig/settings/yazi/init.lua +49 -24
  178. machineconfig/settings/yazi/keymap_linux.toml +19 -4
  179. machineconfig/settings/yazi/keymap_windows.toml +0 -1
  180. machineconfig/settings/yazi/shell/yazi_cd.ps1 +29 -5
  181. machineconfig/settings/yazi/theme.toml +4 -0
  182. machineconfig/settings/yazi/yazi_linux.toml +84 -0
  183. machineconfig/settings/yazi/yazi_windows.toml +58 -0
  184. machineconfig/settings/zellij/layouts/st.kdl +39 -8
  185. machineconfig/setup_linux/__init__.py +1 -2
  186. machineconfig/setup_linux/apps_desktop.sh +8 -27
  187. machineconfig/setup_linux/web_shortcuts/interactive.sh +12 -10
  188. machineconfig/setup_linux/web_shortcuts/live_from_github.sh +31 -0
  189. machineconfig/setup_mac/__init__.py +2 -3
  190. machineconfig/setup_windows/__init__.py +3 -5
  191. machineconfig/setup_windows/ssh/openssh-server.ps1 +1 -1
  192. machineconfig/setup_windows/uv.ps1 +8 -1
  193. machineconfig/setup_windows/web_shortcuts/interactive.ps1 +12 -10
  194. machineconfig/setup_windows/web_shortcuts/live_from_github.ps1 +30 -0
  195. machineconfig/setup_windows/web_shortcuts/quick_init.ps1 +17 -0
  196. machineconfig/utils/accessories.py +7 -4
  197. machineconfig/utils/code.py +69 -27
  198. machineconfig/utils/files/headers.py +2 -2
  199. machineconfig/utils/installer_utils/github_release_bulk.py +156 -119
  200. machineconfig/utils/installer_utils/install_from_url.py +183 -0
  201. machineconfig/utils/installer_utils/installer_class.py +43 -100
  202. machineconfig/utils/installer_utils/installer_cli.py +175 -0
  203. machineconfig/utils/installer_utils/installer_helper.py +129 -0
  204. machineconfig/utils/installer_utils/{installer_abc.py → installer_locator_utils.py} +36 -85
  205. machineconfig/utils/{installer.py → installer_utils/installer_runner.py} +16 -59
  206. machineconfig/utils/io.py +0 -1
  207. machineconfig/utils/links.py +2 -2
  208. machineconfig/utils/meta.py +30 -16
  209. machineconfig/utils/options.py +42 -24
  210. machineconfig/utils/options_tv.py +119 -0
  211. machineconfig/utils/path_extended.py +42 -20
  212. machineconfig/utils/path_helper.py +75 -22
  213. machineconfig/utils/procs.py +1 -1
  214. machineconfig/utils/scheduler.py +20 -53
  215. machineconfig/utils/schemas/layouts/layout_types.py +1 -1
  216. machineconfig/utils/ssh.py +159 -418
  217. machineconfig/utils/ssh_utils/abc.py +5 -0
  218. machineconfig/utils/ssh_utils/copy_from_here.py +111 -0
  219. machineconfig/utils/ssh_utils/copy_to_here.py +303 -0
  220. machineconfig/utils/ssh_utils/utils.py +142 -0
  221. machineconfig/utils/ssh_utils/wsl.py +210 -0
  222. machineconfig/utils/terminal.py +1 -0
  223. machineconfig/utils/upgrade_packages.py +6 -1
  224. machineconfig/utils/ve.py +12 -4
  225. machineconfig-8.14.dist-info/METADATA +132 -0
  226. {machineconfig-7.50.dist-info → machineconfig-8.14.dist-info}/RECORD +264 -215
  227. {machineconfig-7.50.dist-info → machineconfig-8.14.dist-info}/entry_points.txt +2 -4
  228. machineconfig/jobs/installer/linux_scripts/pgsql.sh +0 -41
  229. machineconfig/jobs/installer/linux_scripts/timescaledb.sh +0 -71
  230. machineconfig/jobs/installer/powershell_scripts/archive_pygraphviz.ps1 +0 -12
  231. machineconfig/jobs/installer/powershell_scripts/openssh-server_add_key.ps1 +0 -7
  232. machineconfig/jobs/installer/powershell_scripts/openssh-server_copy-ssh-id.ps1 +0 -14
  233. machineconfig/scripts/linux/other/switch_ip +0 -20
  234. machineconfig/scripts/python/ai/command_runner/prompt.txt +0 -9
  235. machineconfig/scripts/python/define.py +0 -31
  236. machineconfig/scripts/python/explore.py +0 -49
  237. machineconfig/scripts/python/helpers_devops/cli_utils.py +0 -246
  238. machineconfig/scripts/python/helpers_msearch/scripts_linux/fzfag +0 -17
  239. machineconfig/scripts/python/helpers_msearch/scripts_linux/fzfrga +0 -21
  240. machineconfig/scripts/python/helpers_msearch/scripts_linux/skrg +0 -4
  241. machineconfig/scripts/python/helpers_msearch/scripts_windows/fzfb.ps1 +0 -3
  242. machineconfig/scripts/python/helpers_msearch/scripts_windows/fzfrga.bat +0 -20
  243. machineconfig/scripts/python/helpers_repos/count_lines_frontend.py +0 -17
  244. machineconfig/scripts/python/nw/add_ssh_key.py +0 -148
  245. machineconfig/scripts/python/nw/wsl_windows_transfer.py +0 -66
  246. machineconfig/scripts/windows/mounts/mount_ssh.ps1 +0 -13
  247. machineconfig/settings/lf/linux/exe/fzf_nano.sh +0 -16
  248. machineconfig/settings/lf/windows/fzf_edit.ps1 +0 -6
  249. machineconfig/settings/lf/windows/tst.ps1 +0 -1
  250. machineconfig/settings/yazi/yazi.toml +0 -17
  251. machineconfig/setup_linux/apps.sh +0 -66
  252. machineconfig/setup_linux/others/cli_installation.sh +0 -137
  253. machineconfig/setup_linux/others/mint_keyboard_shortcuts.sh +0 -30
  254. machineconfig/setup_linux/ssh/openssh_all.sh +0 -25
  255. machineconfig/setup_linux/ssh/openssh_wsl.sh +0 -38
  256. machineconfig/setup_mac/apps.sh +0 -73
  257. machineconfig/setup_windows/apps.ps1 +0 -62
  258. machineconfig/setup_windows/others/obs.ps1 +0 -4
  259. machineconfig/setup_windows/ssh/add_identity.ps1 +0 -11
  260. machineconfig/utils/installer_utils/installer.py +0 -221
  261. machineconfig-7.50.dist-info/METADATA +0 -92
  262. /machineconfig/jobs/installer/linux_scripts/{warp-cli.sh → cloudflare_warp_cli.sh} +0 -0
  263. /machineconfig/jobs/installer/{custom_dev → python_scripts}/__init__.py +0 -0
  264. /machineconfig/jobs/installer/{custom_dev → python_scripts}/alacritty.py +0 -0
  265. /machineconfig/jobs/installer/{custom_dev → python_scripts}/bypass_paywall.py +0 -0
  266. /machineconfig/jobs/installer/{custom_dev → python_scripts}/cursor.py +0 -0
  267. /machineconfig/jobs/installer/{custom_dev → python_scripts}/espanso.py +0 -0
  268. /machineconfig/jobs/installer/{custom → python_scripts}/gh.py +0 -0
  269. /machineconfig/jobs/installer/{custom_dev → python_scripts}/goes.py +0 -0
  270. /machineconfig/jobs/installer/{custom_dev → python_scripts}/lvim.py +0 -0
  271. /machineconfig/jobs/installer/{custom_dev → python_scripts}/redis.py +0 -0
  272. /machineconfig/{setup_linux/others → jobs/scripts/bash_scripts}/android.sh +0 -0
  273. /machineconfig/jobs/{installer/linux_scripts → scripts/bash_scripts}/lid.sh +0 -0
  274. /machineconfig/{scripts/python/nw → jobs/scripts/bash_scripts}/mount_drive +0 -0
  275. /machineconfig/{scripts/python/nw → jobs/scripts/bash_scripts}/mount_nw_drive +0 -0
  276. /machineconfig/{scripts/python/nw → jobs/scripts/bash_scripts}/mount_smb +0 -0
  277. /machineconfig/{scripts/linux/other → jobs/scripts/bash_scripts}/share_cloud.sh +0 -0
  278. /machineconfig/{scripts/linux/other → jobs/scripts/bash_scripts}/share_nfs +0 -0
  279. /machineconfig/{scripts/linux/other → jobs/scripts/bash_scripts}/start_docker +0 -0
  280. /machineconfig/{scripts → jobs/scripts/powershell_scripts}/Restore-ThunderbirdProfile.ps1 +0 -0
  281. /machineconfig/{setup_windows/others → jobs/scripts/powershell_scripts}/docker.ps1 +0 -0
  282. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/mount_nfs.ps1 +0 -0
  283. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/mount_nw.ps1 +0 -0
  284. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/mount_smb.ps1 +0 -0
  285. /machineconfig/{setup_windows/others → jobs/scripts/powershell_scripts}/power_options.ps1 +0 -0
  286. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/share_cloud.cmd +0 -0
  287. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/share_smb.ps1 +0 -0
  288. /machineconfig/{scripts/windows/mounts → jobs/scripts/powershell_scripts}/unlock_bitlocker.ps1 +0 -0
  289. /machineconfig/scripts/python/{nw → ai/utils}/__init__.py +0 -0
  290. /machineconfig/scripts/python/ai/{vscode_tasks.py → utils/vscode_tasks.py} +0 -0
  291. /machineconfig/{settings/shells/pwsh/profile.ps1 → scripts/python/helpers_fire_command/f.py} +0 -0
  292. /machineconfig/{setup_windows/wt_and_pwsh → scripts/python/helpers_network}/__init__.py +0 -0
  293. /machineconfig/scripts/python/{nw → helpers_network}/mount_nw_drive.py +0 -0
  294. /machineconfig/scripts/python/{nw → helpers_network}/onetimeshare.py +0 -0
  295. /machineconfig/scripts/python/{nw → helpers_network}/wifi_conn.py +0 -0
  296. /machineconfig/{setup_windows/wt_and_pwsh → settings/wt}/set_wt_settings.py +0 -0
  297. {machineconfig-7.50.dist-info → machineconfig-8.14.dist-info}/WHEEL +0 -0
  298. {machineconfig-7.50.dist-info → machineconfig-8.14.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,33 @@
1
+ # function y {
2
+ # $tmp = (New-TemporaryFile).FullName
3
+ # yazi $args --cwd-file="$tmp"
4
+ # $cwd = Get-Content -Path $tmp -Encoding UTF8
5
+ # if (-not [String]::IsNullOrEmpty($cwd) -and $cwd -ne $PWD.Path) {
6
+ # Set-Location -LiteralPath (Resolve-Path -LiteralPath $cwd).Path
7
+ # }
8
+ # Remove-Item -Path $tmp
9
+ # }
1
10
  function y {
11
+ # Save + temporarily disable WezTerm/Starship prompt marking
12
+ $oldWez = $env:WEZTERM_SHELL_SKIP_ALL
13
+ $env:WEZTERM_SHELL_SKIP_ALL = "1" # tells WezTerm integration to skip markers (supported knob)
14
+ $oldTransient = $env:STARSHIP_DISABLE_TRANSIENT_PROMPT
15
+ $env:STARSHIP_DISABLE_TRANSIENT_PROMPT = "true"
16
+
2
17
  $tmp = (New-TemporaryFile).FullName
3
- yazi $args --cwd-file="$tmp"
4
- $cwd = Get-Content -Path $tmp -Encoding UTF8
5
- if (-not [String]::IsNullOrEmpty($cwd) -and $cwd -ne $PWD.Path) {
6
- Set-Location -LiteralPath (Resolve-Path -LiteralPath $cwd).Path
18
+ try {
19
+ yazi $args --cwd-file="$tmp"
20
+ $cwd = Get-Content -Path $tmp -Encoding UTF8
21
+ if (-not [string]::IsNullOrEmpty($cwd) -and $cwd -ne $PWD.Path) {
22
+ Set-Location -LiteralPath (Resolve-Path -LiteralPath $cwd).Path
23
+ }
24
+ } finally {
25
+ # Clean up temp file
26
+ Remove-Item -Path $tmp -ErrorAction SilentlyContinue
27
+ # Restore env
28
+ if ($null -ne $oldWez) { $env:WEZTERM_SHELL_SKIP_ALL = $oldWez } else { Remove-Item Env:\WEZTERM_SHELL_SKIP_ALL -ErrorAction SilentlyContinue }
29
+ if ($null -ne $oldTransient) { $env:STARSHIP_DISABLE_TRANSIENT_PROMPT = $oldTransient } else { Remove-Item Env:\STARSHIP_DISABLE_TRANSIENT_PROMPT -ErrorAction SilentlyContinue }
30
+ # Nudge terminal back to sane modes (cursor on, no mouse, no bracketed paste)
31
+ Write-Host -NoNewline "`e[0m`e[?25h`e[?1000l`e[?1002l`e[?1006l`e[?2004l"
7
32
  }
8
- Remove-Item -Path $tmp
9
33
  }
@@ -0,0 +1,4 @@
1
+
2
+ [flavor]
3
+ dark = "dracula"
4
+ # dark = "catppuccin-frappe"
@@ -0,0 +1,84 @@
1
+
2
+ [mgr]
3
+ show_hidden = true
4
+ ratio = [1, 3, 5]
5
+
6
+ [opener]
7
+ system_default = [
8
+ { run = "xdg-open \"$1\"", desc = "System Default", block = false, orphan = false, for = "unix" }
9
+ ]
10
+ edit = [
11
+ { run = 'hx "$@"', desc = "Helix (Editor)", block = true, orphan = false, for = "unix" }
12
+ ]
13
+ vscode = [
14
+ { run = "code \"$@\"", desc = "VSCode (Editor)", block = true, orphan = false, for = "unix" }
15
+ ]
16
+ play = [
17
+ { run = "mpv \"$@\"", desc = "MPV (Media)", block = false, orphan = false, for = "unix" }
18
+ ]
19
+ open = [
20
+ { run = "xdg-open \"$1\"", desc = "System Default Open", block = false, orphan = false, for = "unix" }
21
+ ]
22
+
23
+ [open]
24
+ prepend_rules = [
25
+ # Text/Code files - open with Helix by default
26
+ { name = "*.py", use = ["edit", "vscode"] },
27
+ { name = "*.{rs,toml,yaml,yml,json,js,ts,tsx,jsx,html,css,md,txt,sh,bash,zsh,ps1}", use = ["edit", "vscode"] },
28
+ { mime = "text/*", use = ["edit", "vscode"] },
29
+ ]
30
+ rules = [
31
+ { mime = "application/pdf", use = ["system_default"] },
32
+ { mime = "image/*", use = ["system_default"] },
33
+ { mime = "{audio,video}/*", use = ["system_default"] },
34
+ { name = "*", use = ["system_default"] }
35
+ ]
36
+
37
+
38
+ [plugin]
39
+ dir = "~/.config/yazi/plugins"
40
+
41
+ prepend_previewers = [
42
+ # Markdown previewer
43
+ { name = "*.md", run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"' },
44
+ # Archive previewer
45
+ { mime = "application/*zip", run = "ouch" },
46
+ { mime = "application/x-tar", run = "ouch" },
47
+ { mime = "application/x-bzip2", run = "ouch" },
48
+ { mime = "application/x-7z-compressed", run = "ouch" },
49
+ { mime = "application/x-rar", run = "ouch" },
50
+ { mime = "application/vnd.rar", run = "ouch" },
51
+ { mime = "application/x-xz", run = "ouch" },
52
+ { mime = "application/xz", run = "ouch" },
53
+ { mime = "application/x-zstd", run = "ouch" },
54
+ { mime = "application/zstd", run = "ouch" },
55
+ { mime = "application/java-archive", run = "ouch" },
56
+
57
+ # { name = "*.csv", run = "duckdb" },
58
+ # { name = "*.tsv", run = "duckdb" },
59
+ # { name = "*.json", run = "duckdb" },
60
+ # { name = "*.parquet", run = "duckdb" },
61
+ # { name = "*.txt", run = "duckdb" },
62
+ # { name = "*.xlsx", run = "duckdb" },
63
+ # { name = "*.db", run = "duckdb" },
64
+ # { name = "*.duckdb", run = "duckdb" }
65
+ ]
66
+
67
+ # prepend_preloaders = [ { name = "*.csv", run = "duckdb", multi = false },
68
+
69
+
70
+ [[plugin.load]]
71
+ name = "toggle-pane"
72
+ path = "toggle-pane.yazi"
73
+
74
+
75
+ [preview]
76
+ # Change them to your desired values
77
+ max_width = 1000
78
+ max_height = 1000
79
+
80
+ previewers = [
81
+ # PDF
82
+ { mime = "application/pdf", run = "pdf" },
83
+ ]
84
+
@@ -0,0 +1,58 @@
1
+
2
+ [mgr]
3
+ show_hidden = true
4
+ ratio = [1, 3, 5]
5
+
6
+ [opener]
7
+ system_default = [
8
+ { run = "cmd /C start \"\" \"%1\"", desc = "System Default (Windows)", for = "windows", block = false, orphan = false }
9
+ ]
10
+ # Edit files in your editor (replace "code" with your editor if you like)
11
+ edit = [
12
+ { run = "code \"%*\"", desc = "VS Code (Editor)", block = true, orphan = false, for = "windows" }
13
+ ]
14
+ helix = [
15
+ { run = "hx \"%*\"", desc = "Helix (Editor)", block = true, orphan = false, for = "windows" }
16
+ ]
17
+
18
+ # Play media files
19
+ play = [
20
+ { run = "start \"\" \"%*\"", desc = "System Default (Media)", block = false, orphan = false, for = "windows" }
21
+ ]
22
+
23
+ # Open files/folders with system default program/explorer
24
+ open = [
25
+ { run = "start \"\" \"%1\"", desc = "System Default (Open)", block = false, orphan = false, for = "windows" }
26
+ ]
27
+
28
+
29
+ [open]
30
+ prepend_rules = [
31
+ # Text/Code files - open with VSCode by default, Helix as alternative
32
+ { name = "*.py", use = ["edit", "helix"] },
33
+ { name = "*.{rs,toml,yaml,yml,json,js,ts,tsx,jsx,html,css,md,txt,sh,ps1,bat,cmd}", use = ["edit", "helix"] },
34
+ { mime = "text/*", use = ["edit", "helix"] },
35
+ ]
36
+ rules = [
37
+ { mime = "video/*", use = "play" },
38
+ { mime = "application/pdf", use = ["system_default"] },
39
+ { mime = "image/*", use = ["system_default"] },
40
+ { name = "*", use = ["system_default"] }
41
+ ]
42
+
43
+
44
+
45
+ [plugin]
46
+ # dir = "~/AppData/Roaming/yazi/config/plugins"
47
+
48
+ [[plugin.load]]
49
+ name = "toggle-pane"
50
+ path = "toggle-pane.yazi"
51
+
52
+
53
+ [preview]
54
+ # Change them to your desired values
55
+ max_width = 1000
56
+ max_height = 1000
57
+
58
+
@@ -1,21 +1,52 @@
1
1
 
2
2
  layout {
3
3
  default_tab_template {
4
- // the default zellij tab-bar and status bar plugins
4
+ // show compact status bar and leave room for panes
5
5
  pane size=1 borderless=true {
6
6
  plugin location="zellij:compact-bar"
7
7
  }
8
8
  children
9
- }
9
+ }
10
+
10
11
  tab name="📂" focus=false {
11
12
  pane name="lfpane" {
12
- command "lf"
13
+ command "lf"
13
14
  }
14
- }
15
- tab name="🔍" focus=false { // the default_tab_template with three vertical panes between the plugins
16
- pane name="tpane" {
15
+ }
16
+
17
+ tab name="🔍" focus=false {
18
+ pane name="tpane"
19
+ }
20
+
21
+ tab name="🖥️" focus=true template="default_tab_template" {
22
+ pane name="shell"
23
+ }
24
+
25
+ swap_tiled_layout name="vertical" {
26
+ tab name="🖥️" template="default_tab_template" {
27
+ pane split_direction="vertical" {
28
+ pane
29
+ pane
30
+ }
17
31
  }
18
- }
32
+ }
19
33
 
20
- tab name="🖥️" focus=true // the default_tab_template
34
+ swap_tiled_layout name="horizontal" {
35
+ tab name="🖥️" template="default_tab_template" {
36
+ pane split_direction="horizontal" {
37
+ pane
38
+ pane
39
+ }
40
+ }
41
+ }
42
+
43
+ swap_tiled_layout name="stacked" {
44
+ tab name="🖥️" template="default_tab_template" {
45
+ pane split_direction="vertical" {
46
+ pane
47
+ pane
48
+ pane
49
+ }
50
+ }
51
+ }
21
52
  }
@@ -2,10 +2,9 @@
2
2
  from pathlib import Path
3
3
 
4
4
  INTERACTIVE = Path(__file__).parent.joinpath("web_shortcuts/interactive.sh")
5
- APPS = Path(__file__).parent.joinpath("apps.sh")
5
+ LIVE = Path(__file__).parent.joinpath("web_shortcuts/live_from_github.sh")
6
6
  UV = Path(__file__).parent.joinpath("uv.sh")
7
7
 
8
8
  APPS_DESKTOP = Path(__file__).parent.joinpath("apps_desktop.sh")
9
9
  APPS_GUI = Path(__file__).parent.joinpath("apps_gui.sh")
10
10
 
11
- SSH_SERVER = Path(__file__).parent.joinpath("ssh/openssh_server.sh")
@@ -1,43 +1,24 @@
1
1
  #!/usr/bin/bash
2
- # 🖥️ DESKTOP APPLICATIONS INSTALLATION SCRIPT
3
- # This script installs desktop applications for a Linux workstation
4
2
 
5
- echo """🌐 WEB BROWSERS | Installing browser applications
6
- """
7
- # Google Chrome installation (commented reference)
8
- # echo "📥 Installing Google Chrome..."
9
- # wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
10
- # sudo dpkg -i google-chrome-stable_current_amd64.deb
11
-
12
- echo """📝 TEXT EDITORS | Installing Neovim editor
13
- """
14
- echo "📥 Installing Neovim via Homebrew..."
15
- /home/linuxbrew/.linuxbrew/bin/brew install neovim
3
+ echo """🌐 WEB BROWSERS | Installing browser applications"""
4
+ echo "📥 Installing Google Chrome..."
5
+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
6
+ sudo dpkg -i google-chrome-stable_current_amd64.deb
16
7
 
17
- echo """📧 EMAIL CLIENT | Installing Thunderbird
18
- """
8
+ echo """📧 EMAIL CLIENT | Installing Thunderbird"""
19
9
  echo "📥 Installing Thunderbird via Flatpak..."
20
10
  flatpak install flathub org.mozilla.Thunderbird
21
11
 
22
- echo """🖲️ TERMINAL EMULATOR | Installing WezTerm
23
- """
24
- echo "📥 Installing WezTerm via Flatpak..."
25
- flatpak install flathub org.wezfurlong.wezterm
26
- echo "🚀 Launching WezTerm..."
27
- flatpak run org.wezfurlong.wezterm
28
12
 
29
- echo """✏️ SCREEN ANNOTATION | Installing Gromit-MPX
30
- """
13
+ echo """✏️ SCREEN ANNOTATION | Installing Gromit-MPX"""
31
14
  echo "📥 Installing Gromit-MPX via Flatpak..."
32
15
  flatpak install net.christianbeier.Gromit-MPX
33
16
 
34
- echo """📋 CLIPBOARD MANAGERS | Installing CopyQ
35
- """
17
+ echo """📋 CLIPBOARD MANAGERS | Installing CopyQ"""
36
18
  echo "📥 Installing CopyQ via Flatpak..."
37
19
  flatpak install flathub com.github.hluk.copyq --noninteractive
38
20
 
39
- echo """🔗 REMOTE DESKTOP | Installing Remmina
40
- """
21
+ echo """🔗 REMOTE DESKTOP | Installing Remmina"""
41
22
  echo "📥 Installing Remmina and RDP plugin..."
42
23
  sudo nala install remmina remmina-plugin-rdp -y
43
24
 
@@ -2,16 +2,16 @@
2
2
  . <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/uv.sh")
3
3
  . <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/linux/wrap_mcfg")
4
4
 
5
- alias devops='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" devops'
6
- alias cloud='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" cloud'
7
- alias agents='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" agents'
8
- alias sessions='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" sessions'
9
- alias ftpx='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" ftpx'
10
- alias fire='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" fire'
11
- alias croshell='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" croshell'
12
- alias utils='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" utils'
13
- alias terminal='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" terminal'
14
- alias msearch='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.50" msearch'
5
+ alias devops='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" devops'
6
+ alias cloud='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" cloud'
7
+ alias agents='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" agents'
8
+ alias sessions='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" sessions'
9
+ alias ftpx='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" ftpx'
10
+ alias fire='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" fire'
11
+ alias croshell='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" croshell'
12
+ alias utils='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" utils'
13
+ alias terminal='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" terminal'
14
+ alias msearch='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=8.14" msearch'
15
15
 
16
16
  alias d='wrap_in_shell_script devops'
17
17
  alias c='wrap_in_shell_script cloud'
@@ -25,3 +25,5 @@ alias t='wrap_in_shell_script terminal'
25
25
  alias ms='wrap_in_shell_script msearch'
26
26
 
27
27
  echo "mcfg command aliases are now defined in this shell session."
28
+
29
+ devops self interactive
@@ -0,0 +1,31 @@
1
+ #!/bin/bash
2
+ . <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/uv.sh")
3
+ . <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/linux/wrap_mcfg")
4
+
5
+ alias mcfg='$HOME/.local/bin/uvx --python 3.14 --from "git+https://github.com/thisismygitrepo/machineconfig" mcfg'
6
+
7
+ alias d='wrap_in_shell_script mcfg devops'
8
+ alias c='wrap_in_shell_script mcfg cloud'
9
+ alias a='wrap_in_shell_script mcfg agents'
10
+ alias ss='wrap_in_shell_script mcfg sessions'
11
+ alias fx='wrap_in_shell_script mcfg ftpx'
12
+ alias f='wrap_in_shell_script mcfg fire'
13
+ alias rr='wrap_in_shell_script mcfg croshell'
14
+ alias u='wrap_in_shell_script mcfg utils'
15
+ alias t='wrap_in_shell_script mcfg terminal'
16
+ alias ms='wrap_in_shell_script mcfg msearch'
17
+
18
+ alias devops='mcfg devops'
19
+ alias cloud='mcfg cloud'
20
+ alias agents='mcfg agents'
21
+ alias sessions='mcfg sessions'
22
+ alias ftpx='mcfg ftpx'
23
+ alias fire='mcfg fire'
24
+ alias croshell='mcfg croshell'
25
+ alias utils='mcfg utils'
26
+ alias terminal='mcfg terminal'
27
+ alias msearch='mcfg msearch'
28
+
29
+
30
+ echo "mcfg command aliases are now defined in this shell session."
31
+
@@ -7,11 +7,10 @@ pointing at common scripts (so other code can import these paths).
7
7
 
8
8
  from pathlib import Path
9
9
 
10
- # Path to main installer script for macOS
11
- APPS = Path(__file__).parent.joinpath("apps.sh")
10
+
12
11
  # Optional helper scripts (may or may not exist)
13
12
  UV = Path(__file__).parent.joinpath("uv.sh")
14
13
  # Path to macOS SSH helper
15
14
  SSH_SETUP = Path(__file__).parent.joinpath("ssh/openssh_setup.sh")
16
15
 
17
- __all__ = ["APPS", "UV", "SSH_SETUP"]
16
+ __all__ = ["UV", "SSH_SETUP"]
@@ -1,11 +1,9 @@
1
1
 
2
2
  from pathlib import Path
3
3
 
4
- APPS = Path(__file__).parent.joinpath("apps.ps1")
5
4
  UV = Path(__file__).parent.joinpath("uv.ps1")
6
5
 
7
- DOCKER = Path(__file__).parent.joinpath("others/docker.ps1")
8
- OBS = Path(__file__).parent.joinpath("others/obs.ps1")
9
- POWER_OPTIONS = Path(__file__).parent.joinpath("others/power_options.ps1")
6
+ SSH_SERVER = Path(__file__).parent.joinpath("ssh/openssh_server.ps1")
7
+ INTERACTIVE = Path(__file__).parent.joinpath("web_shortcuts/interactive.ps1")
8
+ LIVE = Path(__file__).parent.joinpath("web_shortcuts/live_from_github.ps1")
10
9
 
11
- SSH_SERVER = Path(__file__).parent.joinpath("ssh/openssh_server.ps1")
@@ -5,7 +5,7 @@ Set-ExecutionPolicy Bypass
5
5
  # PowerShell.exe -ExecutionPolicy Bypass -File "C:\bypass\prompt\standard.ps1" 2>&1>$null
6
6
 
7
7
  # Install SSH-Server on a windows machine. see this one below if this one didn't work:
8
- # to install: winget install --Id Microsoft.OpenSSH.Preview --source winget --scope user # from: https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
8
+ # to install: winget install --Id Microsoft.OpenSSH.Preview --source winget --scope user --accept-package-agreements --accept-source-agreements # from: https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
9
9
  # the result is installed in C:\Program Files\OpenSSH as opposed to C:\Windows\System32\OpenSSH which is the case if openssh is added as a feature/capability to windows
10
10
  # However, notice the new path is not in PATH as is the cases with system variant, so it needs to be added manually.
11
11
  # finally, ssh config files are always @ "$env:ProgramData\ssh" irrespective of installation method.
@@ -7,4 +7,11 @@ if (-not (Test-Path -Path "$HOME\.local\bin\uv.exe")) {
7
7
  Write-Output "uv binary found, updating..."
8
8
  & "$HOME\.local\bin\uv.exe" self update
9
9
  }
10
- & "$HOME\.local\bin\uv.exe" python install 3.14
10
+
11
+ # `C:\Users\aalsaf01\.local\bin` is not on your PATH. To use installed Python executables, run `$env:PATH = "C:\Users\aalsaf01\.local\bin;$env:PATH"` or `uv python update-shell`.
12
+ & "$env:USERPROFILE\.local\bin\uv.exe" python update-shell
13
+ $env:Path = [System.Environment]::GetEnvironmentVariable('Path', 'Machine') + ';' + [System.Environment]::GetEnvironmentVariable('Path', 'User')
14
+
15
+ # & "$HOME\.local\bin\uv.exe" python install 3.14
16
+ uv python install 3.14
17
+
@@ -3,16 +3,16 @@
3
3
  iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/uv.ps1").Content
4
4
  iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/windows/wrap_mcfg.ps1").Content
5
5
 
6
- function devops { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" devops $args }
7
- function cloud { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" cloud $args }
8
- function agents { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" agents $args }
9
- function sessions { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" sessions $args }
10
- function ftpx { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" ftpx $args }
11
- function fire { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" fire $args }
12
- function croshell { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" croshell $args }
13
- function utils { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" utils $args }
14
- function terminal { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" terminal $args }
15
- function msearch { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.50" msearch $args }
6
+ function devops { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" devops $args }
7
+ function cloud { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" cloud $args }
8
+ function agents { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" agents $args }
9
+ function sessions { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" sessions $args }
10
+ function ftpx { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" ftpx $args }
11
+ function fire { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" fire $args }
12
+ function croshell { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" croshell $args }
13
+ function utils { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" utils $args }
14
+ function terminal { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" terminal $args }
15
+ function msearch { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=8.14" msearch $args }
16
16
 
17
17
  function d { wrap_in_shell_script devops @args }
18
18
  function c { wrap_in_shell_script cloud @args }
@@ -26,3 +26,5 @@ function t { wrap_in_shell_script terminal @args }
26
26
  function ms { wrap_in_shell_script msearch @args }
27
27
 
28
28
  Write-Host "mcfg command aliases are now defined in this PowerShell session."
29
+
30
+ devops self interactive
@@ -0,0 +1,30 @@
1
+
2
+
3
+ iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/uv.ps1").Content
4
+ iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/windows/wrap_mcfg.ps1").Content
5
+
6
+ function devops { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "git+https://github.com/thisismygitrepo/machineconfig" mcfg $args }
7
+
8
+ function devops {mcfg devops @args }
9
+ function cloud {mcfg cloud @args }
10
+ function agents {mcfg agents @args }
11
+ function sessions {mcfg sessions @args }
12
+ function ftpx {mcfg ftpx @args }
13
+ function fire {mcfg fire @args }
14
+ function croshell {mcfg croshell @args }
15
+ function utils {mcfg utils @args }
16
+ function terminal {mcfg terminal @args }
17
+ function msearch {mcfg msearch @args }
18
+
19
+ function d { wrap_in_shell_script mcfg devops @args }
20
+ function c { wrap_in_shell_script mcfg cloud @args }
21
+ function a { wrap_in_shell_script mcfg agents @args }
22
+ function sx { wrap_in_shell_script mcfg sessions @args }
23
+ function fx { wrap_in_shell_script mcfg ftpx @args }
24
+ function f { wrap_in_shell_script mcfg fire @args }
25
+ function rr { wrap_in_shell_script mcfg croshell @args }
26
+ function u { wrap_in_shell_script mcfg utils @args }
27
+ function t { wrap_in_shell_script mcfg terminal @args }
28
+ function ms { wrap_in_shell_script mcfg msearch @args }
29
+
30
+ Write-Host "mcfg command aliases are now defined in this PowerShell session."
@@ -0,0 +1,17 @@
1
+
2
+ iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/uv.ps1").Content
3
+ # iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/windows/wrap_mcfg.ps1").Content
4
+
5
+ uv tool install --upgrade --python 3.14 machineconfig
6
+
7
+ devops install --group sysabc
8
+
9
+ # configs
10
+ devops config copy-assets both
11
+ devops config public --method copy --on-conflict overwrite-default-path --which all
12
+ devops config shell
13
+ devops config shell --which nushell
14
+
15
+ devops install --group termabc
16
+ wt # start Windows Terminal to pick up config changes
17
+ devops install --group gui
@@ -1,4 +1,3 @@
1
- from pathlib import Path
2
1
  from typing import Optional, Any
3
2
 
4
3
  from datetime import datetime, timezone, timedelta
@@ -96,14 +95,18 @@ def human_friendly_dict(d: dict[str, Any]) -> dict[str, Any]:
96
95
  return result
97
96
 
98
97
 
99
- def get_repo_root(path: Path) -> Optional[Path]:
98
+ def get_repo_root(path: "Path") -> Optional["Path"]:
100
99
  from git import Repo, InvalidGitRepositoryError
101
-
102
100
  try:
103
- repo = Repo(str(path), search_parent_directories=True)
101
+ repo = Repo(path, search_parent_directories=True)
104
102
  root = repo.working_tree_dir
105
103
  if root is not None:
104
+ from pathlib import Path
106
105
  return Path(root)
107
106
  except InvalidGitRepositoryError:
108
107
  pass
109
108
  return None
109
+
110
+
111
+ if __name__ == "__main__":
112
+ from pathlib import Path