mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 14:00:03 +00:00
parent
ac6f60f1ae
commit
6196f3b85d
1371
extras/clink/CHANGES
1371
extras/clink/CHANGES
File diff suppressed because it is too large
Load Diff
@ -1,63 +1,64 @@
|
|||||||
:: Copyright (c) 2012 Martin Ridgers
|
|
||||||
:: License: http://opensource.org/licenses/MIT
|
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
|
rem -- Copyright (c) 2012 Martin Ridgers
|
||||||
|
rem -- Portions Copyright (c) 2020-2024 Christopher Antos
|
||||||
|
rem -- License: http://opensource.org/licenses/MIT
|
||||||
|
|
||||||
setlocal enableextensions
|
setlocal enableextensions
|
||||||
set clink_profile_arg=
|
set clink_profile_arg=
|
||||||
set clink_quiet_arg=
|
set clink_quiet_arg=
|
||||||
|
|
||||||
:: Mimic cmd.exe's behaviour when starting from the start menu.
|
rem -- Mimic cmd.exe's behaviour when starting from the start menu.
|
||||||
if /i "%1"=="startmenu" (
|
if /i "%~1"=="startmenu" (
|
||||||
cd /d "%userprofile%"
|
cd /d "%userprofile%"
|
||||||
shift
|
shift
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Check for the --profile option.
|
rem -- Check for the --profile option.
|
||||||
if /i "%1"=="--profile" (
|
if /i "%~1"=="--profile" (
|
||||||
set clink_profile_arg=--profile "%~2"
|
set clink_profile_arg=--profile "%~2"
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Check for the --quiet option.
|
rem -- Check for the --quiet option.
|
||||||
if /i "%1"=="--quiet" (
|
if /i "%~1"=="--quiet" (
|
||||||
set clink_quiet_arg= --quiet
|
set clink_quiet_arg= --quiet
|
||||||
shift
|
shift
|
||||||
)
|
)
|
||||||
|
|
||||||
:: If the .bat is run without any arguments, then start a cmd.exe instance.
|
rem -- If the .bat is run without any arguments, then start a cmd.exe instance.
|
||||||
if "%1"=="" (
|
if _%1==_ (
|
||||||
call :launch
|
call :launch
|
||||||
goto :end
|
goto :end
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Test for autorun.
|
rem -- Test for autorun.
|
||||||
if defined CLINK_NOAUTORUN if /i "%1"=="inject" if /i "%2"=="--autorun" goto :end
|
if defined CLINK_NOAUTORUN if /i "%~1"=="inject" if /i "%~2"=="--autorun" goto :end
|
||||||
|
|
||||||
:: Endlocal before inject tags the prompt.
|
rem -- Forward to appropriate loader, and endlocal before inject tags the prompt.
|
||||||
endlocal
|
|
||||||
|
|
||||||
:: Pass through to appropriate loader.
|
|
||||||
if /i "%processor_architecture%"=="x86" (
|
if /i "%processor_architecture%"=="x86" (
|
||||||
|
endlocal
|
||||||
"%~dp0\clink_x86.exe" %*
|
"%~dp0\clink_x86.exe" %*
|
||||||
) else if /i "%processor_architecture%"=="arm64" (
|
) else if /i "%processor_architecture%"=="arm64" (
|
||||||
|
endlocal
|
||||||
"%~dp0\clink_arm64.exe" %*
|
"%~dp0\clink_arm64.exe" %*
|
||||||
) else if /i "%processor_architecture%"=="amd64" (
|
) else if /i "%processor_architecture%"=="amd64" (
|
||||||
if defined processor_architew6432 (
|
if defined processor_architew6432 (
|
||||||
|
endlocal
|
||||||
"%~dp0\clink_x86.exe" %*
|
"%~dp0\clink_x86.exe" %*
|
||||||
) else (
|
) else (
|
||||||
|
endlocal
|
||||||
"%~dp0\clink_x64.exe" %*
|
"%~dp0\clink_x64.exe" %*
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:end
|
goto :end
|
||||||
goto :eof
|
|
||||||
|
|
||||||
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
||||||
:launch
|
:launch
|
||||||
setlocal
|
setlocal enableextensions
|
||||||
set WT_PROFILE_ID=
|
set WT_PROFILE_ID=
|
||||||
set WT_SESSION=
|
set WT_SESSION=
|
||||||
start "Clink" cmd.exe /s /k ""%~dpnx0" inject %clink_profile_arg%%clink_quiet_arg%"
|
start "Clink" cmd.exe /s /k ""%~dpnx0" inject %clink_profile_arg%%clink_quiet_arg%"
|
||||||
endlocal
|
endlocal
|
||||||
exit /b 0
|
|
||||||
|
:end
|
||||||
|
BIN
extras/clink/clink_arm64.exe
Normal file
BIN
extras/clink/clink_arm64.exe
Normal file
Binary file not shown.
BIN
extras/clink/clink_dll_arm64.dll
Normal file
BIN
extras/clink/clink_dll_arm64.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,10 +4,10 @@
|
|||||||
# Override the built-in Readline defaults with ones that provide a more
|
# Override the built-in Readline defaults with ones that provide a more
|
||||||
# enhanced Clink experience.
|
# enhanced Clink experience.
|
||||||
|
|
||||||
colored-completion-prefix on
|
set colored-completion-prefix on
|
||||||
colored-stats on
|
set colored-stats on
|
||||||
mark-symlinked-directories on
|
set mark-symlinked-directories on
|
||||||
completion-auto-query-items on
|
set completion-auto-query-items on
|
||||||
history-point-at-end-of-anchored-search on
|
set history-point-at-end-of-anchored-search on
|
||||||
search-ignore-case on
|
set search-ignore-case on
|
||||||
|
|
||||||
|
@ -4,28 +4,26 @@
|
|||||||
# Override built-in default settings with ones that provide a more
|
# Override built-in default settings with ones that provide a more
|
||||||
# enhanced Clink experience.
|
# enhanced Clink experience.
|
||||||
|
|
||||||
autosuggest.enable = True
|
|
||||||
clink.default_bindings = windows
|
clink.default_bindings = windows
|
||||||
cmd.ctrld_exits = False
|
cmd.ctrld_exits = False
|
||||||
color.arginfo = sgr 38;5;172
|
color.arginfo = sgr 38;5;172
|
||||||
color.argmatcher = sgr 1;38;5;40
|
color.argmatcher = sgr 1;38;5;40
|
||||||
color.cmd = sgr 1;38;5;231
|
color.cmd = bold
|
||||||
color.cmdredir = sgr 38;5;172
|
color.cmdredir = sgr 38;5;172
|
||||||
color.cmdsep = sgr 38;5;214
|
color.cmdsep = sgr 38;5;135
|
||||||
color.comment_row = sgr 38;5;87;48;5;18
|
color.comment_row = sgr 38;5;87;48;5;18
|
||||||
color.description = sgr 38;5;39
|
color.description = sgr 38;5;39
|
||||||
color.doskey = sgr 1;38;5;75
|
color.doskey = sgr 1;38;5;75
|
||||||
color.executable = sgr 1;38;5;33
|
color.executable = sgr 1;38;5;33
|
||||||
color.filtered = sgr 38;5;231
|
color.filtered = bold
|
||||||
color.flag = sgr 38;5;117
|
color.flag = sgr 38;5;117
|
||||||
color.hidden = sgr 38;5;160
|
color.hidden = sgr 38;5;160
|
||||||
color.histexpand = sgr 97;48;5;55
|
color.histexpand = sgr 97;48;5;55
|
||||||
color.horizscroll = sgr 38;5;16;48;5;30
|
color.horizscroll = sgr 38;5;16;48;5;30
|
||||||
color.input = sgr 38;5;222
|
color.input = sgr 38;5;214
|
||||||
color.readonly = sgr 38;5;28
|
color.readonly = sgr 38;5;28
|
||||||
color.selected_completion = sgr 38;5;16;48;5;254
|
color.selected_completion = sgr 7
|
||||||
color.selection = sgr 38;5;16;48;5;179
|
color.selection = sgr 38;5;16;48;5;179
|
||||||
color.suggestion = sgr 38;5;239
|
|
||||||
color.unrecognized = sgr 38;5;203
|
color.unrecognized = sgr 38;5;203
|
||||||
history.max_lines = 25000
|
history.max_lines = 25000
|
||||||
history.time_stamp = show
|
history.time_stamp = show
|
||||||
|
Loading…
x
Reference in New Issue
Block a user