From d33f6ebc052ad0580d45bee831b348201bafda92 Mon Sep 17 00:00:00 2001 From: Riz Ashraf Date: Mon, 23 Feb 2026 03:17:51 +0000 Subject: [PATCH] Update dotfiles to reflect current setup as of 2026-02-23 --- .../LocalState/settings.json | 34 +- AppData/Local/clink/clink_settings | 488 +++++++++++++++++- AppData/Local/clink/oh-my-posh.lua | 12 +- AppData/Local/nvim/lazy-lock.json | 16 +- AppData/Roaming/Code/User/settings.json | 4 +- dot_config/packages/scoop_packages.json | Bin 25776 -> 15244 bytes .../Microsoft.PowerShell_profile.ps1 | 39 +- 7 files changed, 545 insertions(+), 48 deletions(-) diff --git a/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json b/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json index b086a9d..0d78d39 100644 --- a/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json +++ b/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json @@ -15,10 +15,6 @@ "command": "paste", "id": "User.paste" }, - { - "command": "find", - "id": "User.find" - }, { "command": { @@ -27,6 +23,10 @@ "splitMode": "duplicate" }, "id": "User.splitPane.A6751878" + }, + { + "command": "find", + "id": "User.find" } ], "copyFormatting": "none", @@ -39,14 +39,14 @@ "id": "User.copy.644BA8F2", "keys": "ctrl+c" }, - { - "id": "User.find", - "keys": "ctrl+shift+f" - }, { "id": "User.paste", "keys": "ctrl+v" }, + { + "id": "User.find", + "keys": "ctrl+shift+f" + }, { "id": "User.splitPane.A6751878", "keys": "alt+shift+d" @@ -156,6 +156,24 @@ "hidden": false, "name": "Developer PowerShell for VS 18", "source": "Windows.Terminal.VisualStudio" + }, + { + "guid": "{64cda46f-1222-57c1-83f5-ec6fd8094efa}", + "hidden": false, + "name": "Developer Command Prompt for VS 18", + "source": "Windows.Terminal.VisualStudio" + }, + { + "guid": "{03b4b313-3250-56e1-9569-5c0b17c40ba3}", + "hidden": false, + "name": "Developer PowerShell for VS 18", + "source": "Windows.Terminal.VisualStudio" + }, + { + "guid": "{8554482d-c56b-5f2e-a62f-1fca4b905252}", + "hidden": false, + "name": "Ubuntu", + "source": "Microsoft.WSL" } ] }, diff --git a/AppData/Local/clink/clink_settings b/AppData/Local/clink/clink_settings index bead3c3..dff3f6d 100644 --- a/AppData/Local/clink/clink_settings +++ b/AppData/Local/clink/clink_settings @@ -1,3 +1,44 @@ +# name: Show input hints from argmatchers +# type: boolean +argmatcher.show_hints = True + +# name: Enable asynchronous suggestions +# type: boolean +autosuggest.async = True + +# name: Enable automatic suggestions +# type: boolean +autosuggest.enable = True + +# name: Show usage hint for automatic suggestions +# type: boolean +autosuggest.hint = True + +# name: Accept original capitalization +# type: boolean +autosuggest.original_case = True + +# name: Controls how suggestions are chosen +# type: string +autosuggest.strategy = match_prev_cmd history fuzzy_history completion + +# name: Command to run when injected +# type: string +clink.autostart = + +# name: Auto-update the Clink program files +# type: enum +# options: off,check,prompt,auto +clink.autoupdate = check + +# name: Colorize the input text +# type: boolean +clink.colorize_input = True + +# name: A .clinkprompt file to use for the prompt +# type: string +clink.customprompt = + # name: Selects default key bindings # type: enum # options: bash,windows @@ -8,10 +49,62 @@ clink.default_bindings = windows # options: none,full,short clink.logo = none +# name: Maximum rows for the input line +# type: integer +clink.max_input_rows = 0 + +# name: Strips CR and LF chars on paste +# type: enum +# options: delete,space,ampersand,crlf +clink.paste_crlf = crlf + +# name: Paths to load Lua scripts from +# type: string +clink.path = + +# name: Direction for repeated deletion in popup lists +# type: enum +# options: down,up +clink.popup_delete_direction = down + +# name: Default search mode in popup lists +# type: enum +# options: find,filter +clink.popup_search_mode = find + +# name: Enable prompt filtering by Lua scripts +# type: boolean +clink.promptfilter = True + +# name: Scroll offset above/below selected item in list +# type: integer +clink.scroll_offset = 3 + +# name: Days between update checks +# type: integer +clink.update_interval = 5 + +# name: Replaces the console title prefix when elevated +# type: string +cmd.admin_title_prefix = + +# name: Pressing Alt-F4 exits session +# type: boolean +cmd.altf4_exits = True + +# name: Auto-answer terminate prompt +# type: enum +# options: off,answer_yes,answer_no +cmd.auto_answer = off + # name: Pressing Ctrl-D exits session # type: boolean cmd.ctrld_exits = False +# name: Retrieve last exit code +# type: boolean +cmd.get_errorlevel = True + # name: Argument color # type: color color.arg = bold @@ -24,10 +117,6 @@ color.arginfo = sgr 38;5;172 # type: color color.argmatcher = sgr 1;38;5;40 -# name: Color for home dir tilde -# type: color -color.autoexpandtilde = bright cyan - # name: Shell command completions # type: color color.cmd = bold @@ -44,26 +133,18 @@ color.cmdsep = sgr 38;5;135 # type: color color.comment_row = sgr 38;5;87;48;5;18 +# name: Common prefix of completions +# type: color +color.common_match_prefix = + # name: Description completion color # type: color color.description = sgr 38;5;39 -# name: Color for command divider line -# type: color -color.divider_line = sgr 30;48;5;25 - -# name: Color for command end divider line -# type: color -color.divider_line_end = sgr 38;5;25 - # name: Doskey completions # type: color color.doskey = sgr 1;38;5;75 -# name: Color for escape for plain tilde -# type: color -color.escapetilde = bright cyan on blue - # name: Color for executable command word # type: color color.executable = sgr 1;38;5;33 @@ -96,14 +177,46 @@ color.input = sgr 38;5;214 # type: color color.interact = bold -# name: Color for 'rem lua:' prefix -# type: color -color.luaprefix = bright cyan on blue - # name: Message area color # type: color color.message = default +# name: Modified history line mark color +# type: color +color.modmark = + +# name: Color for popup lists and messages +# type: color +color.popup = + +# name: Color for popup border +# type: color +color.popup_border = + +# name: Color for popup description column(s) +# type: color +color.popup_desc = + +# name: Color for popup footer message +# type: color +color.popup_footer = + +# name: Color for popup title text +# type: color +color.popup_header = + +# name: Color for selected item in popup list +# type: color +color.popup_select = + +# name: Color for selected item in popup list +# type: color +color.popup_selectdesc = + +# name: Prompt color +# type: color +color.prompt = + # name: Readonly file completions # type: color color.readonly = sgr 38;5;28 @@ -116,6 +229,30 @@ color.selected_completion = sgr 7 # type: color color.selection = sgr 38;5;16;48;5;179 +# name: Color for suggestion text +# type: color +color.suggestion = + +# name: Color for suggestions in the suggestion list +# type: color +color.suggestionlist = + +# name: Color for dim text in the suggestion list header +# type: color +color.suggestionlist_dim = sgr 38;5;242 + +# name: Color for highlight in the suggestion list +# type: color +color.suggestionlist_highlight = sgr 38;5;87 + +# name: Color for markup in the suggestion list +# type: color +color.suggestionlist_markup = sgr 38;2;253;174;31 + +# name: Color for the current selected suggestion +# type: color +color.suggestionlist_selected = sgr 48;5;238 + # name: Unexpected argument color # type: color color.unexpected = default @@ -124,23 +261,334 @@ color.unexpected = default # type: color color.unrecognized = sgr 38;5;203 +# name: Delay before showing input hints +# type: integer +comment_row.hint_delay = 500 + +# name: Allow showing input hints in the comment row +# type: boolean +comment_row.show_hints = False + +# name: Include callstack when logging output +# type: boolean +debug.log_output_callstacks = False + +# name: Log the prompt string +# type: boolean +debug.log_prompt = False + +# name: Log terminal input and output +# type: boolean +debug.log_terminal = False + +# name: Controls duplicates in directory history +# type: enum +# options: add,erase_prev +directories.dupe_mode = add + +# name: Add enhancements to Doskey +# type: boolean +doskey.enhanced = True + +# name: Include aliases +# type: boolean +exec.aliases = True + +# name: Include launchable documents +# type: boolean +exec.associations = False + +# name: Include CMD commands +# type: boolean +exec.commands = True + +# name: Match executables in current directory +# type: boolean +exec.cwd = True + +# name: Include directories +# type: boolean +exec.dirs = True + +# name: Enable executable completions +# type: boolean +exec.enable = True + +# name: Include files +# type: boolean +exec.files = False + +# name: Match executables in PATH +# type: boolean +exec.path = True + +# name: Whitespace prefix matches files +# type: boolean +exec.space_prefix = True + +# name: Include hidden files +# type: boolean +files.hidden = True + +# name: Include system files +# type: boolean +files.system = False + +# name: Perform history expansion automatically +# type: boolean +history.auto_expand = True + +# name: Commands not automatically added to the history +# type: string +history.dont_add_to_history_cmds = exit history + +# name: Controls how duplicate entries are handled +# type: enum +# options: add,ignore,erase_prev +history.dupe_mode = erase_prev + +# name: Sets how command history expansion is applied +# type: enum +# options: off,on,not_squoted,not_dquoted,not_quoted +history.expand_mode = not_quoted + +# name: Skip adding lines prefixed with whitespace +# type: boolean +history.ignore_space = True + # name: The number of history lines to save # type: integer history.max_lines = 25000 +# name: Save history between sessions +# type: boolean +history.save = True + +# name: Share history between instances +# type: boolean +history.shared = False + +# name: Show preview of history expansion at cursor +# type: boolean +history.show_preview = True + +# name: Makes it easy to replay a series of commands +# type: boolean +history.sticky_search = False + +# name: Format for showing history times +# type: string +history.time_format = %F %T + # name: History item timestamps # type: enum # options: off,save,show history.time_stamp = show +# name: Breaks into Lua debugger on Lua errors +# type: boolean +lua.break_on_error = False + +# name: Breaks into Lua debugger on traceback +# type: boolean +lua.break_on_traceback = False + +# name: Enables Lua debugging +# type: boolean +lua.debug = False + +# name: 'require' search path +# type: string +lua.path = + +# name: Fail on argument errors +# type: boolean +lua.strict = True + +# name: Restricts coroutine execution +# type: integer +lua.throttle_interval = 0 + +# name: Prints stack trace on Lua errors +# type: boolean +lua.traceback_on_error = False + +# name: Coloring rules for completions +# type: string +match.coloring_rules = + +# name: Expand abbreviated paths when completing +# type: boolean +match.expand_abbrev = True + # name: Expand envvars when completing # type: boolean match.expand_envvars = True +# name: Fits match columns to screen width +# type: boolean +match.fit_columns = True + +# name: Accent insensitive matching +# type: boolean +match.ignore_accent = True + +# name: Case insensitive matching +# type: enum +# options: off,on,relaxed +match.ignore_case = relaxed + +# name: Limits fitted columns by number of matches +# type: integer +match.max_fitted_matches = 0 + +# name: Max rows in clink-select-complete +# type: integer +match.max_rows = 0 + +# name: Preview rows +# type: integer +match.preview_rows = 5 + +# name: Where to sort matching directories +# type: enum +# options: before,with,after +match.sort_dirs = with + # name: Try substring if no prefix matches # type: boolean match.substring = True +# name: Translate slashes and backslashes +# type: enum +# options: off,system,slash,backslash,auto +match.translate_slashes = auto + +# name: Match ? and * wildcards when completing +# type: boolean +match.wild = True + +# name: Enables asynchronous prompt refresh +# type: boolean +prompt.async = True + +# name: Controls spacing before prompt +# type: enum +# options: normal,compact,sparse +prompt.spacing = normal + +# name: Controls when past prompts are collapsed +# type: enum +# options: off,always,same_dir +prompt.transient = off + +# name: Suppress stderr from the Readline library +# type: boolean +readline.hide_stderr = False + +# name: Start with the suggestion list enabled +# type: boolean +suggestionlist.default = False + +# name: Hide input hints in the suggestion list +# type: boolean +suggestionlist.hide_hints = True + +# name: History items to show at the top +# type: integer +suggestionlist.num_history = 3 + +# name: Adjusts the cursor visibility and shape +# type: boolean +terminal.adjust_cursor_style = True + +# name: Color emoji support in terminal +# type: enum +# options: off,on,auto +terminal.color_emoji = auto + +# name: Use special sequences for Ctrl-H, -I, -M, -[ +# type: boolean +terminal.differentiate_keys = False + +# name: East Asian Ambiguous character widths +# type: enum +# options: font,one,two,auto +terminal.east_asian_ambiguous = auto + +# name: Controls VT emulation +# type: enum +# options: native,emulate,auto +terminal.emulation = auto + +# name: Clink mouse input +# type: enum +# options: off,on,auto +terminal.mouse_input = auto + +# name: Modifier keys for mouse input +# type: string +terminal.mouse_modifier = + +# name: Esc sends a literal escape character +# type: boolean +terminal.raw_esc = False + +# name: Show scrollbars in lists +# type: boolean +terminal.scrollbars = True + +# name: Send terminal shell integration codes +# type: enum +# options: off,on,auto +terminal.shell_integration = auto + +# name: Support Windows' Ctrl-Alt substitute for AltGr +# type: boolean +terminal.use_altgr_substitute = False + + + +# name: Color for home dir tilde +# type: color +color.autoexpandtilde = bright cyan + +# name: Color for command divider line +# type: color +color.divider_line = sgr 30;48;5;25 + +# name: Color for command end divider line +# type: color +color.divider_line_end = sgr 38;5;25 + +# name: Color for escape for plain tilde +# type: color +color.escapetilde = bright cyan on blue + +# name: Color for 'rem lua:' prefix +# type: color +color.luaprefix = bright cyan on blue + +# name: Ignores command extension +# type: boolean +fuzzy_history.ignore_ext = True + +# name: Ignores command path +# type: boolean +fuzzy_history.ignore_path = True + +# name: Limit fuzzy_history searches +# type: integer +fuzzy_history.max_items = 0 + +# name: Use default key bindings +# type: boolean +fzf.default_bindings = True + +# name: Enables icons in file completions +# type: boolean +matchicons.enable = True + # name: Show a tip when Clink starts # type: boolean tips.enable = False diff --git a/AppData/Local/clink/oh-my-posh.lua b/AppData/Local/clink/oh-my-posh.lua index 549d100..9aaeca8 100644 --- a/AppData/Local/clink/oh-my-posh.lua +++ b/AppData/Local/clink/oh-my-posh.lua @@ -1,2 +1,10 @@ --- oh-my-posh.lua -load(io.popen('oh-my-posh.exe --config="C:/Users/reazul.ashraf/AppData/Local/Programs/oh-my-posh/themes/nordtron.omp.json" --init --shell cmd'):read("*a"))() \ No newline at end of file +-- oh-my-posh.lua (cached) +local cache_file = "C:/Users/reazul.ashraf/AppData/Local/clink/oh-my-posh_cache.lua" +local f = io.open(cache_file, "r") +if f then + f:close() + dofile(cache_file) +else + -- Fallback if cache is missing + load(io.popen('oh-my-posh.exe --config="C:/Users/reazul.ashraf/AppData/Local/clink/nordtron.omp.json" --init --shell cmd'):read("*a"))() +end \ No newline at end of file diff --git a/AppData/Local/nvim/lazy-lock.json b/AppData/Local/nvim/lazy-lock.json index 00b5ee0..7cad3ab 100644 --- a/AppData/Local/nvim/lazy-lock.json +++ b/AppData/Local/nvim/lazy-lock.json @@ -10,35 +10,35 @@ "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" }, "git-worktree.nvim": { "branch": "master", "commit": "f247308e68dab9f1133759b05d944569ad054546" }, - "gitsigns.nvim": { "branch": "main", "commit": "31217271a7314c343606acb4072a94a039a19fb5" }, - "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, + "gitsigns.nvim": { "branch": "main", "commit": "9f3c6dd7868bcc116e9c1c1929ce063b978fa519" }, + "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lazygit.nvim": { "branch": "main", "commit": "a04ad0dbc725134edbee3a5eea29290976695357" }, "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, "luasnip": { "branch": "master", "commit": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c" }, "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "ae609525ddf01c153c39305730b1791800ffe4fe" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "21c2a84ce368e99b18f52ab348c4c02c32c02fcf" }, "mason-tool-installer.nvim": { "branch": "main", "commit": "443f1ef8b5e6bf47045cb2217b6f748a223cf7dc" }, "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" }, "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, - "neogit": { "branch": "master", "commit": "73870229977fdd8747025820e15e98cfde787b9c" }, + "neogit": { "branch": "master", "commit": "d5af26e085a21b468b98c0e1257ac52706c1066f" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" }, "nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" }, "nvim-dap": { "branch": "master", "commit": "db321947bb289a2d4d76a32e76e4d2bd6103d7df" }, "nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" }, "nvim-jdtls": { "branch": "master", "commit": "77ccaeb422f8c81b647605da5ddb4a7f725cda90" }, - "nvim-lint": { "branch": "master", "commit": "bcd1a44edbea8cd473af7e7582d3f7ffc60d8e81" }, - "nvim-lspconfig": { "branch": "master", "commit": "d1597791f8196519439b3a036b59b09023981e1d" }, + "nvim-lint": { "branch": "master", "commit": "486474c2ace8d78d28995074dbdbe29011bc63d0" }, + "nvim-lspconfig": { "branch": "master", "commit": "5a855bcfec7973767a1a472335684bbd71d2fa2b" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, "nvim-surround": { "branch": "main", "commit": "1098d7b3c34adcfa7feb3289ee434529abd4afd1" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-web-devicons": { "branch": "master", "commit": "746ffbb17975ebd6c40142362eee1b0249969c5c" }, "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "d6b802552cbe7d643a3b6b31f419c248d1f1e220" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "e2858c43caafec291f915ef25fbed27bbe78abbd" }, "telescope-tabs": { "branch": "master", "commit": "777b1f630f3d6a12a2e71635a82581c988d6da2e" }, - "telescope.nvim": { "branch": "master", "commit": "ad7d9580338354ccc136e5b8f0aa4f880434dcdc" }, + "telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" }, "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, "tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, diff --git a/AppData/Roaming/Code/User/settings.json b/AppData/Roaming/Code/User/settings.json index 3f7e4e4..ee7e031 100644 --- a/AppData/Roaming/Code/User/settings.json +++ b/AppData/Roaming/Code/User/settings.json @@ -307,5 +307,7 @@ "markdownlint.config": {}, "markdownlint.focusMode": false, "markdownlint.configPath": "C:/Users/reazul.ashraf/.markdownlint.json", - "window.newWindowProfile": "Default" + "window.newWindowProfile": "Default", + "workbench.colorTheme": "Visual Studio Dark", + "workbench.editor.enablePreview": false } \ No newline at end of file diff --git a/dot_config/packages/scoop_packages.json b/dot_config/packages/scoop_packages.json index 6d6bd85d67d6a29eba4991fb45dcd3f968fada8c..dab87411738434eaec9a6153e913bfe2c6eddc63 100644 GIT binary patch literal 15244 zcmcgzO^@To5xwuPFy`v0x4*l|V}b;5fc3?bTnr=NNR-4eMKTmMvm?X*J+Cz%LO2q) zS?=-f9t6#{rXQ`5gd^jzNm0`wZp3B#$mdpyvVp;YSS3(Xn z3n7sPBY=n#tw9K5n6pM3FDdSHJ#4;)r)9BU7OSfGTe~V3KmKEUwFuiNrrEnZKIvSZ zIR}1d5~QhEyWAG*f&f7<;pebi^{SgjjSmvU_RbYFT%Pcp7c`l4fpZk`Fz8*i(2ng^d&-j00je%kX zE@hZf+-B~zG)@ zyv_{%rDnr=HNHm#4?s>ekIvdM?=mGF$&IGc!+O2z$_)Vo%8WVrLFPd1tx*1>8j5w* z|9Q;>;J}1PclHB(s-g7S=u{(H3Dg`46?kqWGzR2|^fkx&xF&cMvK*XheDFeK3SzFz zjm{CtGH$Kb$!W1E9w}85D(N|~6=v`(vxf65dEK|!j-O;iWReIoQ2?GhAeH4x;fV8E zrw35Ck0c0as>kOpIMIvH0U973dZRLzTou@Kl)x%cB?&hR0nDb2P%^y@`eId68n_HZ zm|+D6>5K`boJ+53Z2F?xK2*o?6OEulXo2GBfMJFVF%^BB&mjJ#4@iC6K0FaH806_0 z#gfaVU;v{$W!sDQOPk29pb6#_o6_%${>KnBmdOrB`UGrfCliY1S3`>KJmop+GOh zy;eGXUwwa9G?a9KDm+ZPB24k-R>;{_bIu*9t^T&O|Ic#xYmd47{!81me~Py6a*Zfw zOlH#O!262Q;{^rK&M}IH*1@?Ip44SeD+TvxjTXzAqU{UdnB`nrqN2rLmAu!!|L^#D z#-wm4$+HR(j3&Im-0K4ziK;oF`;RffxhBUDRXFJ3Bz{k+1$A+JTD4g2=?SJlovovy z?OUMIC|-obJe5?~PIDqa!CDashk;ByK6oMbopFFe2D6Fu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?FBt>!*s!FngCZCN1EBV(uPX=arB-evoE9L?pYG z^sAhRQf&M5bg=x`%o4c}GmoG!98&7Z#H|f-_5wdZBdM}_3(s9xRurlOi$vw0u9}r1eHbJ1QKB1jUuo6@ z#%zc0!?8JE`kclg#nVAH@n{tp9UkZ{JU0D=%qP;+Lj9c}OzXz>0(J#j zKh5?jGlP+${4Ztw;T;1IV6TGjRL5ZJrD5?{KJh2bs?5$!<$S?YRc3YKPsWnQoqWk+ zj!oVfZ=It3vnMm0qqfvD~nIo8K@TJN8bT}`;dB2<-%>HC1kHQgnTL=jTm#dta#(JZe-WFQVYGkX~dG=Im#;3;ihI|qa+@^+3 z(HrWWNE^FarhjSGT3^r17qOo?O}Wo?W(YHO;YbX33J%Ato7X#O#@>~mEx3M4@N0j% I^LzjJ9~5;WDF6Tf diff --git a/readonly_OneDrive - Inspired Entertainment Inc/readonly_Documents/PowerShell/Microsoft.PowerShell_profile.ps1 b/readonly_OneDrive - Inspired Entertainment Inc/readonly_Documents/PowerShell/Microsoft.PowerShell_profile.ps1 index 2f6e9a8..e402ad7 100644 --- a/readonly_OneDrive - Inspired Entertainment Inc/readonly_Documents/PowerShell/Microsoft.PowerShell_profile.ps1 +++ b/readonly_OneDrive - Inspired Entertainment Inc/readonly_Documents/PowerShell/Microsoft.PowerShell_profile.ps1 @@ -1,3 +1,7 @@ +# Default file encoding to UTF-8 (no BOM) +$OutputEncoding = [System.Text.UTF8Encoding]::new($false) +[Console]::OutputEncoding = [System.Text.UTF8Encoding]::new($false) + # Prioritize Scoop shims $scoopShims = "$env:USERPROFILE\scoop\shims" if ($env:Path -notlike "$scoopShims*") { @@ -11,10 +15,14 @@ if ($env:Path -notlike "$scoopShims*") { $env:YAZI_FILE_ONE = 'C:\Program Files\Git\usr\bin\file.exe' -$env:POSH_GIT_ENABLED = $true +$env:POSH_GIT_ENABLED = $false $env:POSH_THEME = "$env:POSH_THEMES_PATH\nordtron.omp.json" oh-my-posh --init --shell pwsh --config $env:POSH_THEME | Invoke-Expression +Import-Module Terminal-Icons +Import-Module DockerCompletion +Import-Module CompletionPredictor + Set-PSReadLineKeyHandler -Chord 'Ctrl+Spacebar' -Function MenuComplete #Set-PSReadLineKeyHandler -Key Tab -ScriptBlock { Invoke-FzfTabCompletion } Set-PSReadlineKeyHandler -Key Shift+Tab -Function TabCompletePrevious @@ -29,7 +37,6 @@ Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -PredictionViewStyle ListView -#Set-PSReadLineOption -EditMode Windows Set-PSReadlineOption -EditMode Vi Set-PSReadLineOption -ViModeIndicator Cursor @@ -140,6 +147,7 @@ Set-Alias -Name g -Value git Set-Alias -Name cat -Value bat Set-Alias -Name fork -Value 'C:\Users\reazul.ashraf\AppData\Local\Fork\Fork.exe' Set-Alias -Name winfetch -Value pwshfetch-test-1 +Set-Alias -Name ocgv -Value Out-ConsoleGridView function vcvars { &'C:\Program Files\Microsoft Visual Studio\18\Community\Common7\Tools\Launch-VsDevShell.ps1' -SkipAutomaticLocation @@ -174,14 +182,12 @@ function acl { } -function jdk8home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-8.0.472.8-hotspot" } +function jdk8home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-8.0.482.8-hotspot" } function jdk8home32 { $env:JAVA_HOME="C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.472.8-hotspot" } -function jdk21home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-21.0.9.10-hotspot" } -function jdk25home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-25.0.1.8-hotspot" } +function jdk21home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot" } +function jdk25home { $env:JAVA_HOME="C:\Program Files\Eclipse Adoptium\jdk-25.0.2.10-hotspot" } function java { &$env:JAVA_HOME/bin/java.exe $args } - -# set java home -jdk21home +function gemini { $env:NODE_OPTIONS="$env:NODE_OPTIONS --no-deprecation"; gemini.ps1} function sonarscan { pwsh -Command { @@ -190,6 +196,7 @@ function sonarscan { if ($null -eq $branch) { exit } $env:MAVEN_OPTS="-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html -Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json -Dsonar.branch.name=$branch" mvn org.sonarsource.scanner.maven:sonar-maven-plugin:RELEASE:sonar -DskipTests -Drevision="$Env:USERNAME-$Env:COMPUTERNAME" + New-BurntToastNotification -Text "Sonar Scan Complete", "Branch: $branch" } } @@ -198,6 +205,7 @@ function owaspdepcheck { jdk25home $env:MAVEN_OPTS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true" mvn -B org.owasp:dependency-check-maven:RELEASE:aggregate -DskipTests -Dformats='XML,JSON,HTML' -DnvdApiKey=b00166ac-5422-402e-830c-998beba0265d + New-BurntToastNotification -Text "OWASP Dependency Check Complete" } } @@ -205,8 +213,21 @@ function owaspdepcheck { # squash all commits into one function gsquash { &git reset --soft HEAD~$(git rev-list --count HEAD ^$args) } +# Initialize a project for gemini-cli +function ginit { + &git init + &git checkout -b gemini-cli + Write-Host "Initialized git repository on 'gemini-cli' branch." -ForegroundColor Cyan +} +# set java home +jdk25home + +$env:EDITOR = 'nvim' +$env:VISUAL = 'nvim' $env:LESS = '-R -F -X' $env:BAT_PAGER = 'less -R -F -X' - +$env:DOCKER_HOST = "tcp://127.0.0.1:2375" $env:GEMINI_API_KEY = 'inse-r-and-d' # Added by Gemini CLI + +fnm env --use-on-cd | Out-String | Invoke-Expression