dotfiles-tui 0.0.5

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.
Files changed (204) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +4 -0
  3. data/.gitattributes +1 -0
  4. data/.github/workflows/publish-gem.yml +36 -0
  5. data/.gitignore +316 -0
  6. data/.shellcheckrc +1 -0
  7. data/.stow-local-ignore +23 -0
  8. data/.vscode/settings.json +2 -0
  9. data/Configs/aerospace/.config/aerospace/aerospace.toml +265 -0
  10. data/Configs/alacritty/.config/alacritty/alacritty.toml +31 -0
  11. data/Configs/conda/.condarc +1 -0
  12. data/Configs/continue/.continue/.continueignore +0 -0
  13. data/Configs/continue/.continue/.continuerc.json +3 -0
  14. data/Configs/continue/.continue/config.json +48 -0
  15. data/Configs/docker/.docker/completion/completion.zsh +3 -0
  16. data/Configs/editorconfig/.editorconfig +16 -0
  17. data/Configs/fzf/.fzf/completion/completion.zsh +8 -0
  18. data/Configs/git/.config/gitconfig/core +83 -0
  19. data/Configs/git/.config/gitconfig/home +20 -0
  20. data/Configs/git/.config/gitconfig/template.txt +7 -0
  21. data/Configs/git/.config/gitconfig/work +23 -0
  22. data/Configs/git/.gitconfig +25 -0
  23. data/Configs/gpg/.gnupg/.#lk0x000000015060b4e0.macBook.pro.24088 +2 -0
  24. data/Configs/gpg/.gnupg/gpg-agent.conf +3 -0
  25. data/Configs/gpg/.gnupg/openpgp-revocs.d/DE999E2ACEAE3E8EAD660459688CB4D444FB1024.rev +28 -0
  26. data/Configs/gpg/.gnupg/private-keys-v1.d/0FF407C984AC03CCC60D924C5B315977DF45D5D0.key +7 -0
  27. data/Configs/gpg/.gnupg/private-keys-v1.d/2B711D7C4A8BE25322C9966B73E6842F7E64CD38.key +7 -0
  28. data/Configs/gpg/.gnupg/pubring.kbx +0 -0
  29. data/Configs/gpg/.gnupg/trustdb.gpg +0 -0
  30. data/Configs/kitty/.config/kitty/current-theme.conf +80 -0
  31. data/Configs/kitty/.config/kitty/kitty.conf +93 -0
  32. data/Configs/nvim/.config/nvim/.stylua.toml +6 -0
  33. data/Configs/nvim/.config/nvim/README.md +9 -0
  34. data/Configs/nvim/.config/nvim/init.lua +37 -0
  35. data/Configs/nvim/.config/nvim/lazy-lock.json +29 -0
  36. data/Configs/nvim/.config/nvim/lua/chadrc.lua +17 -0
  37. data/Configs/nvim/.config/nvim/lua/configs/conform.lua +15 -0
  38. data/Configs/nvim/.config/nvim/lua/configs/lazy.lua +47 -0
  39. data/Configs/nvim/.config/nvim/lua/configs/lspconfig.lua +24 -0
  40. data/Configs/nvim/.config/nvim/lua/configs/null_ls.lua +27 -0
  41. data/Configs/nvim/.config/nvim/lua/mappings.lua +10 -0
  42. data/Configs/nvim/.config/nvim/lua/options.lua +6 -0
  43. data/Configs/nvim/.config/nvim/lua/plugins/init.lua +25 -0
  44. data/Configs/oh-my-posh/.config/oh-my-posh/theme/config.json +71 -0
  45. data/Configs/pip/.config/pip/pip.conf +3 -0
  46. data/Configs/python/.pythonrc +25 -0
  47. data/Configs/starship/.config/starship/starship.toml +134 -0
  48. data/Configs/starship/.config/starship/themes/frappe.toml +27 -0
  49. data/Configs/starship/.config/starship/themes/latte.toml +27 -0
  50. data/Configs/starship/.config/starship/themes/macchiato.toml +27 -0
  51. data/Configs/starship/.config/starship/themes/mocha.toml +27 -0
  52. data/Configs/tmux/.tmux.conf +21 -0
  53. data/Configs/wezterm/.config/wezterm/core/colors.lua +10 -0
  54. data/Configs/wezterm/.config/wezterm/core/font.lua +5 -0
  55. data/Configs/wezterm/.config/wezterm/core/helper.lua +22 -0
  56. data/Configs/wezterm/.config/wezterm/core/init.lua +20 -0
  57. data/Configs/wezterm/.config/wezterm/core/keybindings/init.lua +16 -0
  58. data/Configs/wezterm/.config/wezterm/core/keybindings/macos.lua +106 -0
  59. data/Configs/wezterm/.config/wezterm/core/keybindings/windows.lua +99 -0
  60. data/Configs/wezterm/.config/wezterm/core/launch.lua +41 -0
  61. data/Configs/wezterm/.config/wezterm/core/maximized.lua +5 -0
  62. data/Configs/wezterm/.config/wezterm/core/mousebindings.lua +23 -0
  63. data/Configs/wezterm/.config/wezterm/core/tab_title.lua +26 -0
  64. data/Configs/wezterm/.config/wezterm/core/window.lua +8 -0
  65. data/Configs/wezterm/.config/wezterm/wezterm.lua +83 -0
  66. data/Configs/zellij/.config/zellij/config.kdl +410 -0
  67. data/Configs/zellij/.config/zellij/layouts/default.kdl +159 -0
  68. data/Configs/zellij/.config/zellij/plugins/room.wasm +0 -0
  69. data/Configs/zellij/.config/zellij/plugins/zjstatus.wasm +0 -0
  70. data/Configs/zsh/.hushlogin +0 -0
  71. data/Configs/zsh/.localrc +42 -0
  72. data/Configs/zsh/.profile +3 -0
  73. data/Configs/zsh/.shellcheckrc +1 -0
  74. data/Configs/zsh/.zprofile +3 -0
  75. data/Configs/zsh/.zsh/autoload/backup_restore +84 -0
  76. data/Configs/zsh/.zsh/autoload/cat +8 -0
  77. data/Configs/zsh/.zsh/autoload/change_wallpaper +1 -0
  78. data/Configs/zsh/.zsh/autoload/clean_dstore +6 -0
  79. data/Configs/zsh/.zsh/autoload/clean_pycache +6 -0
  80. data/Configs/zsh/.zsh/autoload/convert_mkv_to_mp4 +14 -0
  81. data/Configs/zsh/.zsh/autoload/create_macos_installer +26 -0
  82. data/Configs/zsh/.zsh/autoload/download +71 -0
  83. data/Configs/zsh/.zsh/autoload/fail +2 -0
  84. data/Configs/zsh/.zsh/autoload/flush_dns +6 -0
  85. data/Configs/zsh/.zsh/autoload/info +1 -0
  86. data/Configs/zsh/.zsh/autoload/ls +8 -0
  87. data/Configs/zsh/.zsh/autoload/reset_beyond_compare +15 -0
  88. data/Configs/zsh/.zsh/autoload/reset_final_cut_pro +5 -0
  89. data/Configs/zsh/.zsh/autoload/reset_launch_pad +3 -0
  90. data/Configs/zsh/.zsh/autoload/reset_open_list +3 -0
  91. data/Configs/zsh/.zsh/autoload/speedup_terminal +6 -0
  92. data/Configs/zsh/.zsh/autoload/start_aria2_server +1 -0
  93. data/Configs/zsh/.zsh/autoload/success +1 -0
  94. data/Configs/zsh/.zsh/autoload/update_system +19 -0
  95. data/Configs/zsh/.zsh/autoload/user +1 -0
  96. data/Configs/zsh/.zsh/autoload/vim +9 -0
  97. data/Configs/zsh/.zsh/autoload/warn +1 -0
  98. data/Configs/zsh/.zsh/completion/aliases.zsh +3 -0
  99. data/Configs/zsh/.zsh/completion/completion.zsh +33 -0
  100. data/Configs/zsh/.zsh/completion/config.zsh +118 -0
  101. data/Configs/zsh/.zsh/completion/exports.zsh +108 -0
  102. data/Configs/zsh/.zsh/completion/fpath.zsh +8 -0
  103. data/Configs/zsh/.zsh_history +283 -0
  104. data/Configs/zsh/.zshenv +2 -0
  105. data/Configs/zsh/.zshrc +54 -0
  106. data/Gemfile +3 -0
  107. data/Gemfile.lock +87 -0
  108. data/Hooks/adguard/pre.rb +7 -0
  109. data/Hooks/aerospace/pre.rb +8 -0
  110. data/Hooks/aide/post.rb +7 -0
  111. data/Hooks/aide/pre.rb +7 -0
  112. data/Hooks/alacritty/pre.rb +7 -0
  113. data/Hooks/alfred/pre.rb +7 -0
  114. data/Hooks/atuin/post.rb +27 -0
  115. data/Hooks/atuin/pre.rb +7 -0
  116. data/Hooks/bartender/pre.rb +7 -0
  117. data/Hooks/bun/pre.rb +7 -0
  118. data/Hooks/carapace/pre.rb +7 -0
  119. data/Hooks/cargo/pre.rb +7 -0
  120. data/Hooks/choosy/pre.rb +7 -0
  121. data/Hooks/controld/pre.rb +7 -0
  122. data/Hooks/core/common.rb +36 -0
  123. data/Hooks/core/final.rb +23 -0
  124. data/Hooks/core/lib/configurator.rb +593 -0
  125. data/Hooks/core/lib/display.rb +120 -0
  126. data/Hooks/core/lib/hook_config.rb +96 -0
  127. data/Hooks/core/lib/hook_context.rb +124 -0
  128. data/Hooks/core/lib/hooks.rb +45 -0
  129. data/Hooks/core/lib/logger.rb +23 -0
  130. data/Hooks/core/lib/menu.rb +70 -0
  131. data/Hooks/core/lib/spinner.rb +50 -0
  132. data/Hooks/core/lib/system.rb +78 -0
  133. data/Hooks/core/lib/tweaks.rb +59 -0
  134. data/Hooks/core/library.rb +3 -0
  135. data/Hooks/core/pre.rb +17 -0
  136. data/Hooks/ctrld/pre.rb +7 -0
  137. data/Hooks/deskpad/pre.rb +7 -0
  138. data/Hooks/fonts/pre.rb +60 -0
  139. data/Hooks/ghostty/pre.rb +10 -0
  140. data/Hooks/git/post.rb +20 -0
  141. data/Hooks/git/pre.rb +7 -0
  142. data/Hooks/gpg/post.rb +16 -0
  143. data/Hooks/gpg/pre.rb +7 -0
  144. data/Hooks/ice-hidemenubar/pre.rb +7 -0
  145. data/Hooks/iterm/IC Green PPL.itermcolors +344 -0
  146. data/Hooks/iterm/chalkboard.webp +0 -0
  147. data/Hooks/iterm/com.googlecode.iterm2.plist +2371 -0
  148. data/Hooks/iterm/post.rb +7 -0
  149. data/Hooks/iterm/pre.rb +7 -0
  150. data/Hooks/jujutsu/post.rb +13 -0
  151. data/Hooks/jujutsu/pre.rb +7 -0
  152. data/Hooks/keka/pre.rb +7 -0
  153. data/Hooks/kitty/pre.rb +7 -0
  154. data/Hooks/lazyvim/pre.rb +7 -0
  155. data/Hooks/lima/pre.rb +7 -0
  156. data/Hooks/little-snitch/pre.rb +7 -0
  157. data/Hooks/microsoft-edge/pre.rb +7 -0
  158. data/Hooks/mos/pre.rb +7 -0
  159. data/Hooks/nvchad/pre.rb +7 -0
  160. data/Hooks/oh-my-posh/config.json +58 -0
  161. data/Hooks/oh-my-posh/post.rb +7 -0
  162. data/Hooks/oh-my-posh/pre.rb +7 -0
  163. data/Hooks/pearcleaner/pre.rb +7 -0
  164. data/Hooks/pycharm/pre.rb +7 -0
  165. data/Hooks/raindropio/pre.rb +7 -0
  166. data/Hooks/rectangle/RectangleConfig.json +258 -0
  167. data/Hooks/rectangle/com.knollsoft.Rectangle.plist +0 -0
  168. data/Hooks/rectangle/post.rb +22 -0
  169. data/Hooks/rectangle/pre.rb +7 -0
  170. data/Hooks/slack/pre.rb +7 -0
  171. data/Hooks/soundsource/pre.rb +7 -0
  172. data/Hooks/ssh/post.rb +8 -0
  173. data/Hooks/starship/pre.rb +7 -0
  174. data/Hooks/sublime_text/post.rb +25 -0
  175. data/Hooks/sublime_text/pre.rb +7 -0
  176. data/Hooks/swiftformat-for-xcode/pre.rb +7 -0
  177. data/Hooks/syncthing/pre.rb +7 -0
  178. data/Hooks/synology/pre.rb +7 -0
  179. data/Hooks/tailscale/pre.rb +7 -0
  180. data/Hooks/tmux/post.rb +7 -0
  181. data/Hooks/tmux/pre.rb +7 -0
  182. data/Hooks/topnotch/pre.rb +7 -0
  183. data/Hooks/transmission/pre.rb +7 -0
  184. data/Hooks/vscode/extensions.txt +16 -0
  185. data/Hooks/vscode/keybindings.json +26 -0
  186. data/Hooks/vscode/post.rb +29 -0
  187. data/Hooks/vscode/pre.rb +9 -0
  188. data/Hooks/vscode/settings.json +139 -0
  189. data/Hooks/vscode/style.css +29 -0
  190. data/Hooks/wezterm/pre.rb +7 -0
  191. data/Hooks/wins/pre.rb +7 -0
  192. data/Hooks/zed/pre.rb +7 -0
  193. data/Hooks/zellij/post.rb +7 -0
  194. data/Hooks/zellij/pre.rb +7 -0
  195. data/Hooks/zoxide/pre.rb +7 -0
  196. data/Hooks/zsh/pre.rb +19 -0
  197. data/LICENSE +21 -0
  198. data/README.md +100 -0
  199. data/bin/dotfiles-tui +6 -0
  200. data/bootstrap.rb +186 -0
  201. data/dotfiles-tui.gemspec +47 -0
  202. data/lib/dotfiles_tui/version.rb +5 -0
  203. data/lib/dotfiles_tui.rb +15 -0
  204. metadata +275 -0
@@ -0,0 +1,283 @@
1
+ : 1725288444:0;grep -c "${new_user} ALL=(ALL) NOPASSWD:ALL" /private/etc/sudoers.d/sudoers
2
+ : 1725288449:0;grep "${new_user} ALL=(ALL) NOPASSWD:ALL" /private/etc/sudoers.d/sudoers
3
+ : 1725288517:0;sudo -v
4
+ : 1725288534:0;sudo su
5
+ : 1725288573:0;sudo -n true
6
+ : 1725288577:0;sudo -n
7
+ : 1725288677:0;./.dotfiles/bootstrap.sh --link
8
+ : 1725288735:0;brew install zsh
9
+ : 1725288744:0;echo $SHELL
10
+ : 1725288747:0;which zsh
11
+ : 1725289127:0;./.dotfiles/bootstrap.sh --link
12
+ : 1725289200:0;which brew
13
+ : 1725289339:0;autoload -Uz compinit\
14
+ compinit -d /tmp/.zcompdump-${USER}-${HOST}\
15
+
16
+ : 1725289483:0;source ~/.zshrc
17
+
18
+ : 1725289820:0;ls "$(which code)"
19
+ : 1725289824:0;ls -l "$(which code)"
20
+ : 1725289847:0;sudo chown -R $(whoami) "$(which code)"\
21
+ sudo chown -R $(whoami) /usr/share/code
22
+ : 1725289854:0;sudo chown -R $(whoami) "$(which code)"
23
+ : 1725292080:0;up
24
+ : 1725297750:0;find ~/.dotfiles -type f ! -perm /u=r,g=r,o=r -print
25
+ : 1725297782:0;find ~/.dotfiles -type f ! -readable -print
26
+ : 1725297804:0;find ~/.dotfiles -type f ! -perm /444 -print
27
+ : 1725297810:0;find ~/.dotfiles -type f ! -perm "/444" -print
28
+ : 1725297830:0;find ~/.dotfiles -type f ! -perm -444 -print
29
+ : 1725297852:0;ls -l /Users/narender/.dotfiles/Configs/ssh/.ssh/known_hosts.old
30
+ : 1725297884:0;cat /Users/narender/.dotfiles/Configs/ssh/.ssh/known_hosts.old
31
+ : 1725297895:0;cat /Users/narender/.dotfiles/Configs/ssh/.ssh/known_hosts
32
+ : 1725298339:0;ls -l /Users/narender/.dotfiles/Configs/ssh/.ssh/config.example
33
+ : 1725298345:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/config.example
34
+ : 1725298354:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/config
35
+ : 1725298362:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/config.local
36
+ : 1725298370:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/config.common
37
+ : 1725298374:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/known_hosts
38
+ : 1725298385:0;chmod 0644 /Users/narender/.dotfiles/Configs/zsh/.zsh_history
39
+ : 1725298402:0;chmod 0644 /Users/narender/.dotfiles/Configs/ssh/.ssh/id_rsa.pub
40
+ : 1725298406:0;find ~/.dotfiles -type f ! -perm -004 -print
41
+ : 1725298412:0;ls -l /Users/narender/.dotfiles/Configs/ssh/.ssh/id_rsa
42
+ : 1725709719:0;starship preset pure-preset -o ~/.config/starship.toml
43
+ : 1725709839:0;pwd
44
+ : 1725710083:0;rm -rf Icon$'\r'
45
+ : 1725710947:0;ls "~/Library/Application Support/Code/User/style.css"
46
+ : 1725710953:0;ls "~/Library/Application Support/Code/User/"
47
+ : 1725710957:0;ls "~/Library/Application\ Support/Code/User/"
48
+ : 1725710967:0;ls ~/Library/Application Support/Code/User/style.css
49
+ : 1725710976:0;ls ~/Library/Application\ Support/Code/User/style.css
50
+ : 1725721131:0;brew install --no-quarantine --cask googlechrome
51
+ : 1725721136:0;brew install --no-quarantine --cask google-chrome
52
+ : 1725721326:0;for i in *.heic(:r); do sips -s format jpeg -s formatOptions best "$i.heic" --out "$i.jpg"; done;
53
+ : 1725721334:0;for i in *.HEIC(:r); do sips -s format jpeg -s formatOptions best "$i.heic" --out "$i.jpg"; done;
54
+ : 1725763900:0;find . -iname '29978b8a378bdfda34a615fe971a6280a9e1a3'
55
+ : 1725764002:0;ls -l ./.dotfiles/.git/objects/05/29978b8a378bdfda34a615fe971a6280a9e1a3
56
+ : 1725764211:0;ls -l ./.dotfiles/.git/objects/
57
+ : 1725764240:0;cd ~/.dotfiles
58
+ : 1725764241:0;git fsck
59
+ : 1725830914:0;brew install --no-quarantine --cask choosy
60
+ : 1725836485:0;git clone https://github.com/attila-lendvai/openwrt-auto-extroot
61
+ : 1725836489:0;cd openwrt-auto-extroot
62
+ : 1725836533:0;code .
63
+ : 1725836639:0;./build.sh -h
64
+ : 1725836646:0;./build.sh --help
65
+ : 1725836662:0;./build.sh
66
+ : 1725836785:0;make info
67
+ : 1725836867:0;./build.sh mt7621 ramips gl-mt1300_v1
68
+ : 1725836877:0;./build.sh bcm53xx generic dlink_dir-885l
69
+ : 1725845471:0;cd ~
70
+ : 1725847095:0;ssh glinet
71
+ : 1725848124:0;cat ~/.ssh/id_rsa.pub
72
+ : 1725848132:0;ssh -l root 192.168.1.1
73
+ : 1725969932:0;brew install --no-quarantine --cask zed
74
+ : 1726280917:0;kreset
75
+ : 1726281214:0;scp root@192.168.8.1:/etc ~/Downloads/glinet.etc
76
+ : 1726281531:0;scp -r root@192.168.8.1:/etc/ ~/Downloads/glinet.etc/
77
+ : 1726282312:0;reset
78
+ : 1726282874:0;brew install android-platform-tools\
79
+
80
+ : 1726282921:0;adb reboot-boatloader
81
+ : 1726282939:0;cd /Users/narender/Downloads/CalyxOS/panther-ap2a.240905.003
82
+ : 1726282954:0;fastboot oem unlock
83
+ : 1726284679:0;scp gl-sdk4-ddns_git-2022.282.26706-dca5bda-1_arm_cortex-a7.ipk root@192.168.8.1:/tmp/
84
+ : 1726316670:0;vim ~/.ssh/known_hosts
85
+ : 1726316679:0;ssh-copy-id root@192.168.8.1
86
+ : 1726317915:0;head -10 ~/.dotfiles/Configs/wezterm/.config/wezterm/core/keybindings/macos.lua
87
+ : 1726317961:0;vim ~/.dotfiles/Configs/wezterm/.config/wezterm/core/keybindings/macos.lua
88
+ : 1726322304:0;cd Downloads
89
+ : 1726322334:0;brew install --no-quarantine --formula zria2c
90
+ : 1726322338:0;brew install --no-quarantine --formula aria2c
91
+ : 1726322346:0;brew install --no-quarantine --formula aria2
92
+ : 1726322365:0;brew install --no-quarantine --formula wget
93
+ : 1726322376:0;download -u 'magnet:?xt=urn:btih:A37AD9AE8E6B2B307353294D9647F3052C8D61F0&dn=Kantara.A.Legend.2022.1080p.10bit.DS4K.AMZN.WEBRip.%5BOrg.DDP5.1-Hindi%2BDDP5.1-Kannada%5D.ESub.HEVC-The.PunisheR&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2810%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=https%3A%2F%2Fopentracker.i2p.rocks%3A443%2Fannounce&tr=udp%3A%2F%2Ftracker.zerobytes.xyz%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.pomf.se%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.encrypted-data.xyz%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce'
94
+ : 1726323438:0;ssh -l root 192.168.8.1
95
+ : 1726364853:0;diskutil erasedisk exFAT BackUp disk4
96
+ : 1726365043:0;cd Downloads/GrapheneOS/panther-install-2024090400
97
+ : 1726365050:0;chmod +x ./flash-all.sh
98
+ : 1726365104:0;adb kill-server
99
+ : 1726365108:0;adb reboot-bootloader
100
+ : 1726366880:0;adb devices
101
+ : 1726366940:0;brew tap localsend/localsend
102
+ : 1726366944:0;brew install localsend
103
+ : 1726367269:0;cd ~/Downloads
104
+ : 1726367410:0;fastboot flask magisk_patched-27006_Onou1.img
105
+ : 1726367417:0;fastboot flash magisk_patched-27006_Onou1.img
106
+ : 1726367426:0;fastboot flash init_boot.img
107
+ : 1726367453:0;fastboot flash init_boot magisk_patched-27006_Onou1.img
108
+ : 1726367570:0;./flash-all.sh
109
+ : 1726367717:0;fastboot flashing lock
110
+ : 1726408087:0;reset_launch_pad
111
+ : 1726409648:0;adb -d reboot bootloader
112
+ : 1726409666:0;fastboot devices
113
+ : 1726409674:0;fastboot flashing unlock
114
+ : 1726409707:0;cd Downloads/LineageOS.21
115
+ : 1726409708:0;ls
116
+ : 1726409982:0;fastboot devices\
117
+
118
+ : 1726409997:0;fastboot flash boot boot.img\
119
+ fastboot flash dtbo dtbo.img\
120
+ fastboot flash vendor_kernel_boot vendor_kernel_boot.img
121
+ : 1726410024:0;fastboot flash vendor_kernel_boot_b vendor_kernel_boot.img
122
+ : 1726410029:0;fastboot flash vendor_kernel_boot_a vendor_kernel_boot.img
123
+ : 1726410047:0;fastboot flash vendor_boot_b vendor_boot.img
124
+ : 1726410404:0;history
125
+ : 1726410641:0;fastboot flash boot boot.img
126
+ : 1726410645:0;fastboot flash dtbo dtbo.img
127
+ : 1726410648:0;fastboot flash vendor_kernel_boot vendor_kernel_boot.img
128
+ : 1726410653:0;fastboot flash vendor_boot vendor_boot.img
129
+ : 1726410812:0;adb -d sideload lineage-21.0-20240913-nightly-panther-signed.zip
130
+ : 1726411153:0;adb -d sideload ../MindTheGapps-14.0.0-arm64-20240612_135921.zip
131
+ : 1726417582:0;diskutil list
132
+ : 1726417860:0;update_system
133
+ : 1726427950:0;brew search office
134
+ : 1726427969:0;brew install --no-quarantine --cask microsoft-office
135
+ : 1726428390:0;brew uninstall --zap microsoft-office
136
+ : 1726430065:0;download -h
137
+ : 1726430107:0;download
138
+ : 1726430303:0;find . -type f -name "*.torrent"
139
+ : 1726430310:0;find . -type f -name "*.torrent" -print
140
+ : 1726430312:0;find . -type f -name "*.torrent" -print0
141
+ : 1726430322:0;find . -type f -name "*.torrent" -print0 | xargs -n1 -r
142
+ : 1726430369:0;find . -type f -name "*.torrent" -print | xargs -d '\n' -n1 -r
143
+ : 1726430384:0;find . -type f -name "*.torrent" -print | xargs -d '\r' -n1 -r
144
+ : 1726430388:0;find . -type f -name "*.torrent" -print | xargs -d '\r'
145
+ : 1726430390:0;find . -type f -name "*.torrent" -print | xargs -d '\n'
146
+ : 1726430427:0;find . -type f -name "*.torrent" -print | xargs -n1 -r
147
+ : 1726430429:0;find . -type f -name "*.torrent" -print | xargs -n1 -r -0
148
+ : 1726430516:0;aria2c -h
149
+ : 1726430590:0;man aria2c
150
+ : 1726431155:0;cd ~/Downloads/Movies
151
+ : 1726431156:0;download -u '*'
152
+ : 1726431203:0;cd ~/Downloads/Movies
153
+ : 1726431204:0;download -u '*'
154
+ : 1726441429:0;reset_launch_pad
155
+ : 1726441780:0;ls
156
+ : 1726441782:0;ls -la
157
+ : 1726442086:0;download -u '*'
158
+ : 1726833548:0;brew install --no-quarantine --cask zed
159
+ : 1726876073:0;du -sh *
160
+ : 1726876110:0;du -sh *| sort -h
161
+ : 1726885504:0;brew install e2fsprogs
162
+ : 1726885515:0;diskutil list
163
+ : 1726885549:0;cd ~
164
+ : 1726885571:0;diskutil list
165
+ : 1726885678:0;brew --prefix
166
+ : 1726885682:0;brew --prefix e2fsprogs
167
+ : 1726885742:0;sudo $(brew --prefix e2fsprogs)/sbin/mkfs.ext4 /dev/disk2
168
+ : 1726885758:0;diskutil list
169
+ : 1726885767:0;sudo $(brew --prefix e2fsprogs)/sbin/mkfs.ext4 /dev/disk2s2
170
+ cd ~/.dotfiles
171
+ ./bootstrap.sh --help
172
+ ./bootstrap.sh --link --formula --app
173
+ ./bootstrap.sh --link --formula --app
174
+ ./bootstrap.sh --link --formula --app
175
+ ./bootstrap.sh --link --formula --app
176
+ ./bootstrap.sh --link --formula --app
177
+ ./bootstrap.sh --link --formula --app
178
+ ./bootstrap.sh --formula
179
+ ./bootstrap.sh --app
180
+ ./bootstrap.sh --link --formula --cask
181
+ ./bootstrap.sh --link --formula --cask
182
+ ./bootstrap.sh --link --formula --cask
183
+ ./bootstrap.sh --link --formula --cask
184
+ ./bootstrap.sh --link --formula --cask
185
+ ./bootstrap.sh --link --formula --cask
186
+ ./bootstrap.sh --link --formula --cask
187
+ ./bootstrap.sh --link --formula --cask
188
+ ./bootstrap.sh --link --formula --cask
189
+ ./bootstrap.sh --link --formula --cask
190
+ ./bootstrap.sh --link --formula --cask
191
+ ./bootstrap.sh --link --formula --cask
192
+ ./bootstrap.sh --link --formula --cask
193
+ pwd
194
+ ./bootstrap.sh --link --formula --cask
195
+ ./bootstrap.sh --link --formula --cask
196
+ ./bootstrap.sh --link --formula --cask
197
+ ./bootstrap.sh --link --formula --cask
198
+ ./bootstrap.sh --cask --link
199
+ ./bootstrap.sh --cask --link
200
+ ./bootstrap.sh --cask --link
201
+ ./bootstrap.sh --cask --link
202
+ ./bootstrap.sh --cask --link
203
+ ls -lr
204
+ ls -lR
205
+ ./bootstrap.sh --link
206
+ ./bootstrap.sh --link
207
+ : 1726963181:0;tput reset
208
+ : 1726963184:0;./bootstrap.sh --link
209
+ : 1726963382:0;tput reset
210
+ : 1726963383:0;./bootstrap.sh --link
211
+ : 1726963504:0;tput reset
212
+ : 1726963508:0;./bootstrap.sh --link
213
+ : 1726963627:0;tput reset
214
+ : 1726963629:0;./bootstrap.sh --link
215
+ : 1726963703:0;tput reset
216
+ : 1726963706:0;./bootstrap.sh --link
217
+ : 1726963769:0;which cargo
218
+ : 1726963842:0;tput reset
219
+ : 1726963845:0;./bootstrap.sh --link
220
+ : 1726963874:0;which brew
221
+ : 1726963891:0;tput reset
222
+ : 1726963892:0;./bootstrap.sh --link
223
+ : 1726963918:0;tput reset
224
+ : 1726963935:0;./bootstrap.sh --formula
225
+ : 1726964207:0;./bootstrap.sh --cask
226
+ : 1726964504:0;which brew
227
+ : 1726964545:0;tput reset
228
+ : 1726964547:0;./bootstrap.sh --cask
229
+ : 1726965111:0;tput reset
230
+ : 1726965113:0;./bootstrap.sh --cask
231
+ : 1726965243:0;tput reset
232
+ : 1726965245:0;./bootstrap.sh --cask
233
+ : 1726965328:0;ls /Users/narender/.dotfiles/Hooks/sublime_text/Hooks/core/common.sh
234
+ : 1726965625:0;tput reset
235
+ : 1726965628:0;./bootstrap.sh --cask
236
+ : 1726965908:0;tput reset
237
+ : 1726965909:0;./bootstrap.sh --cask
238
+ : 1726966090:0;tput reset
239
+ : 1726966091:0;./bootstrap.sh --cask
240
+ : 1726966456:0;reset_launch_pad
241
+ cd ~/.dotfiles
242
+ git status
243
+ ./bootstrap.sh --link
244
+ ./bootstrap.sh --link
245
+ ./bootstrap.sh --link
246
+ ./bootstrap.sh --link
247
+ ./bootstrap.sh --link
248
+ ./bootstrap.sh --link
249
+ : 1727027431:0;cd ~/.dotfiles
250
+ : 1727027449:0;./bootstrap.sh --formula --cask --link
251
+ : 1727027702:0;/opt/homebrew/bin/brew install --no-quarantine --quiet --formulae bottom 2>&1 | tee -a /Users/narender/Downloads/bootstrap.log; sleep 1
252
+ : 1727027822:0;cd ~/.dotfiles
253
+ : 1727027824:0;./bootstrap.sh --formula --cask --link
254
+ : 1727028486:0;cmake
255
+ : 1727029385:0;git status
256
+ : 1727029426:0;git add .
257
+ : 1727029459:0;git status
258
+ : 1727029463:0;git add .
259
+ : 1727029464:0;git status
260
+ : 1727029483:0;git commit -am "Update installatio architecture"
261
+ : 1727029507:0;gpg --list-secret-keys --with-keygrip 2 &>/dev/null
262
+ : 1727029511:0;gpg --list-secret-keys --with-keygrip
263
+ : 1727029519:0;gpg2 --list-secret-keys --with-keygrip
264
+ : 1727029520:0;gpg --list-secret-keys --with-keygrip
265
+ : 1727029532:0;sudo gpgconf --kill dirmngr
266
+ : 1727029534:0;gpg --list-secret-keys --with-keygrip
267
+ : 1727029680:0;gpg --list-secret-keys
268
+ : 1727029699:0;pinentry-mac
269
+ : 1727029902:0;brew install gpg2
270
+ : 1727029910:0;gpg --list-secret-keys
271
+ : 1727029946:0;cd ~/.dotfiles
272
+ : 1727029958:0;git commit -am "Update dotfiles installation architecture code"
273
+ : 1727030040:0;git status
274
+ : 1727030052:0;git remote -v
275
+ : 1727030058:0;git push
276
+ : 1727030298:0;brew install --no-quarantine --cask chromium
277
+ cd ~/.dotfiles
278
+ ls
279
+ ./bootstrap.sh --help
280
+ ./bootstrap.sh -l -c -f
281
+ : 1732248890:0;/opt/homebrew/bin/brew install --no-quarantine --quiet --cask alfred 2>&1 | tee -a /Users/narender/Downloads/bootstrap.log && sleep 1 && exit 0
282
+ : 1733976031:0;brew list --cask
283
+ : 1733976041:0;brew uninstall --zap sublime-text
@@ -0,0 +1,2 @@
1
+ # shellcheck source=/dev/null
2
+ [[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env ruby
2
+
3
+
4
+ # uncomment this and the last line for zprof info for profiling zsh startup time
5
+ # zmodload zsh/zprof
6
+ # set -x
7
+ # shellcheck disable=SC1091
8
+ # Load environment variables from .env
9
+ set -a
10
+ [ -f ~/.env ] && source ~/.env
11
+ set +a
12
+
13
+ [[ -f "${XDG_DATA_HOME:-${HOME}/.local/share}/zap/zap.zsh" ]] && source "${XDG_DATA_HOME:-${HOME}/.local/share}/zap/zap.zsh"
14
+ plug "zsh-users/zsh-autosuggestions"
15
+ plug "zap-zsh/supercharge"
16
+ # plug "zap-zsh/zap-prompt"
17
+ plug "zsh-users/zsh-syntax-highlighting"
18
+
19
+ # all of our zsh files
20
+ typeset -U zsh_completion
21
+ zsh_completion=("${HOME}"/*/completion/*.zsh)
22
+
23
+ # load the path files
24
+ # shellcheck disable=SC2296
25
+ # shellcheck disable=SC1090
26
+ for file in ${(M)zsh_completion:#*/path.zsh}; do
27
+ [[ -f "${file}" ]] && source "${file}"
28
+ done
29
+
30
+ # load everything but the path and completion files
31
+ # shellcheck disable=SC2299
32
+ # shellcheck disable=SC1090
33
+ for file in ${${zsh_completion:#*/path.zsh}:#*/completion.zsh}; do
34
+ [[ -f "${file}" ]] && source "${file}"
35
+ done
36
+
37
+ # load every completion after autocomplete loads
38
+ # shellcheck disable=SC2296
39
+ # shellcheck disable=SC1090
40
+ for file in ${(M)zsh_completion:#*/completion.zsh}; do
41
+ [[ -f "${file}" ]] && source "${file}"
42
+ done
43
+
44
+ unset zsh_completion
45
+
46
+ # use .localrc for SUPER SECRET CRAP that you don't
47
+ # want in your public, versioned repo.
48
+ # shellcheck disable=SC1090
49
+ [ -f ~/.localrc ] && source ~/.localrc
50
+
51
+ # set completion options for uv
52
+ eval "$(uv generate-shell-completion zsh)" && source ~/.venv/bin/activate
53
+
54
+ # zprof
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'childprocess'
data/Gemfile.lock ADDED
@@ -0,0 +1,87 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.2)
5
+ backport (1.2.0)
6
+ benchmark (0.4.0)
7
+ childprocess (5.1.0)
8
+ logger (~> 1.5)
9
+ diff-lcs (1.5.1)
10
+ e2mmap (0.1.0)
11
+ fileutils (1.7.3)
12
+ io-console (0.8.0)
13
+ jaro_winkler (1.6.0)
14
+ json (2.9.1)
15
+ kramdown (2.5.1)
16
+ rexml (>= 3.3.9)
17
+ kramdown-parser-gfm (1.1.0)
18
+ kramdown (~> 2.0)
19
+ language_server-protocol (3.17.0.3)
20
+ logger (1.6.3)
21
+ mini_portile2 (2.8.8)
22
+ nokogiri (1.17.2)
23
+ mini_portile2 (~> 2.8.2)
24
+ racc (~> 1.4)
25
+ observer (0.1.2)
26
+ optparse (0.6.0)
27
+ parallel (1.26.3)
28
+ parser (3.3.6.0)
29
+ ast (~> 2.4.1)
30
+ racc
31
+ racc (1.8.1)
32
+ rainbow (3.1.1)
33
+ rbs (2.8.4)
34
+ regexp_parser (2.9.3)
35
+ reverse_markdown (2.1.1)
36
+ nokogiri
37
+ rexml (3.4.0)
38
+ rubocop (1.69.2)
39
+ json (~> 2.3)
40
+ language_server-protocol (>= 3.17.0)
41
+ parallel (~> 1.10)
42
+ parser (>= 3.3.0.2)
43
+ rainbow (>= 2.2.2, < 4.0)
44
+ regexp_parser (>= 2.9.3, < 3.0)
45
+ rubocop-ast (>= 1.36.2, < 2.0)
46
+ ruby-progressbar (~> 1.7)
47
+ unicode-display_width (>= 2.4.0, < 4.0)
48
+ rubocop-ast (1.37.0)
49
+ parser (>= 3.3.1.0)
50
+ ruby-progressbar (1.13.0)
51
+ solargraph (0.50.0)
52
+ backport (~> 1.2)
53
+ benchmark
54
+ bundler (~> 2.0)
55
+ diff-lcs (~> 1.4)
56
+ e2mmap
57
+ jaro_winkler (~> 1.5)
58
+ kramdown (~> 2.3)
59
+ kramdown-parser-gfm (~> 1.1)
60
+ parser (~> 3.0)
61
+ rbs (~> 2.0)
62
+ reverse_markdown (~> 2.0)
63
+ rubocop (~> 1.38)
64
+ thor (~> 1.0)
65
+ tilt (~> 2.0)
66
+ yard (~> 0.9, >= 0.9.24)
67
+ thor (1.3.2)
68
+ tilt (2.5.0)
69
+ unicode-display_width (3.1.2)
70
+ unicode-emoji (~> 4.0, >= 4.0.4)
71
+ unicode-emoji (4.0.4)
72
+ yard (0.9.37)
73
+
74
+ PLATFORMS
75
+ arm64-darwin-24
76
+ ruby
77
+
78
+ DEPENDENCIES
79
+ childprocess
80
+ fileutils
81
+ io-console
82
+ observer
83
+ optparse
84
+ solargraph
85
+
86
+ BUNDLED WITH
87
+ 2.4.22
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('adguard', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('aerospace', stage: :pre) do |hook|
6
+ hook.run('/opt/homebrew/bin/brew install --quiet --cask nikitabobko/tap/aerospace')
7
+ hook.run('/opt/homebrew/bin/brew tap FelixKratz/formulae && /opt/homebrew/bin/brew install --quiet --formula borders && /opt/homebrew/bin/brew services start felixkratz/formulae/borders')
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('aide', stage: :post) do |_hook|
6
+ # No post actions defined.
7
+ end
data/Hooks/aide/pre.rb ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('aide', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('alacritty', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('alfred', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('atuin', stage: :post) do |hook|
6
+ # Load local .env if it exists (injected from Secrets)
7
+ env_file = File.join(__dir__, '.env')
8
+ if File.exist?(env_file)
9
+ File.foreach(env_file) do |line|
10
+ next if line.strip.start_with?('#') || line.strip.empty?
11
+
12
+ key, value = line.strip.split('=', 2)
13
+ ENV[key] = value if key && value
14
+ end
15
+ end
16
+
17
+ username = ENV.fetch('ATUIN_USERNAME', nil)
18
+ password = ENV.fetch('ATUIN_PASSWORD', nil)
19
+ key = ENV.fetch('ATUIN_KEY', nil)
20
+
21
+ if username && password && key
22
+ hook.run("atuin login --username #{username} --password #{password} --key '#{key}'", allow_failure: true)
23
+ else
24
+ Bootstrap::Display.warn('Skipping Atuin login: Missing credentials in .env')
25
+ end
26
+ hook.run('atuin sync')
27
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('atuin', stage: :pre) do |hook|
6
+ hook.run('/opt/homebrew/bin/brew install --quiet --formula atuin')
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('bartender', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
data/Hooks/bun/pre.rb ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('bun', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('carapace', stage: :pre) do |hook|
6
+ hook.run('/opt/homebrew/bin/brew install --quiet --formula carapace')
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('cargo', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('choosy', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+
5
+ Bootstrap::Hooks.run('controld', stage: :pre) do |_hook|
6
+ # No actions defined. Enable this hook via config/hooks.yml when needed.
7
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/display'
4
+ require_relative 'lib/system'
5
+ require_relative 'lib/logger'
6
+ require_relative 'lib/spinner'
7
+ require_relative 'lib/hook_config'
8
+ require_relative 'lib/hook_context'
9
+ require_relative 'lib/hooks'
10
+
11
+ module Bootstrap
12
+ module Common
13
+ module_function
14
+
15
+ def header(message)
16
+ Bootstrap::Display.header(message)
17
+ end
18
+
19
+ def info(message)
20
+ Bootstrap::Display.info(message)
21
+ end
22
+
23
+ def warn(message)
24
+ Bootstrap::Display.warn(message)
25
+ end
26
+
27
+ def fail(message)
28
+ Bootstrap::Display.fail(message)
29
+ end
30
+
31
+ def success(message)
32
+ Bootstrap::Display.success(message)
33
+ end
34
+ end
35
+ end
36
+
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core/common'
4
+ require_relative '../core/library'
5
+
6
+ Bootstrap::Hooks.run('core', stage: :post) do |hook|
7
+ configurator = hook.configurator || Bootstrap::Configurator.new
8
+
9
+ Bootstrap::Display.header('Resetting launchpad')
10
+ configurator.restart_launchpad
11
+
12
+ Bootstrap::Display.header('Fixing insecure directory permissions')
13
+ configurator.fix_insecure_dir_problems
14
+
15
+ Bootstrap::Display.header('Tweaking system configuration')
16
+ configurator.tweak_macOS_configuration
17
+
18
+ Bootstrap::Display.header('Setting default ZSH')
19
+ configurator.change_default_shell
20
+
21
+ Bootstrap::Display.success('Core finalisation complete')
22
+ end
23
+