Compare commits
2
Commits
8cc68fef1d
...
d33f6ebc05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d33f6ebc05 | ||
|
|
691a8dfd29 |
+26
-8
@@ -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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -2,12 +2,33 @@ local function alias(short, long)
|
||||
os.execute('doskey ' .. short .. '=' .. long)
|
||||
end
|
||||
|
||||
alias('ls', 'dir $*')
|
||||
-- File listing (using eza)
|
||||
alias('ls', 'eza --icons --git --color=always $*')
|
||||
alias('ll', 'eza -l --icons --git --color=always $*')
|
||||
alias('la', 'eza -la --icons --git --color=always $*')
|
||||
alias('lt', 'eza --tree --icons $*')
|
||||
|
||||
-- Modern tools replacements
|
||||
alias('cat', 'bat $*')
|
||||
alias('vi', 'nvim $*')
|
||||
alias('rdp','mstsc /v:$*')
|
||||
alias('grep', 'rg')
|
||||
alias('grep', 'rg $*')
|
||||
alias('find', 'fd $*')
|
||||
alias('top', 'btm $*')
|
||||
alias('du', 'dust $*')
|
||||
alias('df', 'duf $*')
|
||||
|
||||
-- Utilities
|
||||
alias('rdp','mstsc /v:$*')
|
||||
alias('jdk8home', 'set JAVA_HOME=%PROGRAMFILES%\\Java\\jdk-1.8')
|
||||
alias('jdk8home32', 'set JAVA_HOME=C:\\Program Files (x86)\\Java\\jdk-1.8')
|
||||
alias('jdk21home', 'set JAVA_HOME=%PROGRAMFILES%\\Java\\jdk-21')
|
||||
|
||||
-- Git aliases
|
||||
alias('ga', 'git add $*')
|
||||
alias('gc', 'git commit -m $*')
|
||||
alias('gp', 'git push $*')
|
||||
alias('gl', 'git pull $*')
|
||||
alias('gs', 'git status $*')
|
||||
alias('gd', 'git diff $*')
|
||||
alias('gb', 'git branch $*')
|
||||
alias('gco', 'git checkout $*')
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"))()
|
||||
-- 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
|
||||
@@ -587,7 +587,7 @@ local function get_jdtls_config()
|
||||
|
||||
local java_cmd = "java"
|
||||
if vim.fn.has("win32") == 1 then
|
||||
java_cmd = "C:/Program Files/Eclipse Adoptium/jdk-25.0.1.8-hotspot/bin/java.exe"
|
||||
java_cmd = "C:/Program Files/Eclipse Adoptium/jdk-25.0.2.10-hotspot/bin/java.exe"
|
||||
end
|
||||
|
||||
local cmd = {
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Binary file not shown.
+9
-10
@@ -1,5 +1,4 @@
|
||||
<settings>
|
||||
<localRepository>c:/devtools/.m2/repository</localRepository>
|
||||
<pluginGroups>
|
||||
<pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
|
||||
</pluginGroups>
|
||||
@@ -7,17 +6,17 @@
|
||||
<server>
|
||||
<id>italy-vlt-virtual</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>inggRepo</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>inggReleases</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>inggSnapshots</id>
|
||||
@@ -27,32 +26,32 @@
|
||||
<server>
|
||||
<id>repoPlugins</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>jcenter</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>releasePlugins</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>jcenterPlugins</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>inspired-corporate</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>inspired-rpm-release</id>
|
||||
<username>reazul.ashraf</username>
|
||||
<password>AP6CxZgXfEdMtABPHJcW9DZeyT</password>
|
||||
<password>APGb3CYtNHNBLddz53HxVqjvu1</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>registry.docker.ingg.com</id>
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ config.window_decorations = "INTEGRATED_BUTTONS | RESIZE"
|
||||
|
||||
config.default_prog = { 'pwsh.exe', '-NoLogo' }
|
||||
|
||||
config.font = wezterm.font('CaskaydiaCove Nerd Font', { weight = 'Regular' })
|
||||
config.font = wezterm.font('CaskaydiaCove NF', { weight = 'Regular' })
|
||||
config.font_size = 10.0
|
||||
|
||||
config.front_end = "WebGpu"
|
||||
|
||||
@@ -82,3 +82,6 @@ source /snap/google-cloud-cli/current/completion.zsh.inc
|
||||
|
||||
eval "$(zoxide init --cmd z zsh)"
|
||||
|
||||
# Start in ~
|
||||
cd ~
|
||||
|
||||
|
||||
+30
-9
@@ -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
|
||||
|
||||
@@ -7,7 +7,6 @@ $modules = @(
|
||||
"PSProfiler",
|
||||
"PSScriptAnalyzer",
|
||||
"Terminal-Icons",
|
||||
"gsudoModule"
|
||||
)
|
||||
|
||||
foreach ($mod in $modules) {
|
||||
|
||||
Reference in New Issue
Block a user