You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clink is a tool which transforms cmd.exe on Windows to give it the power and customization of Windows Terminal while preserving the native speed of cmd.exe. Really good out-of-the-box experience including syntax highlighting, autosuggestions and other stuff.
Here's how I'm using it in my config to run cmd.exe with clink:
package.config:sub(1, 1) == "\\": Checks the path separator, if its a backslash we are on Windows, otherwise do not change the shell
/s: Suppress cmd.exe copyright information that launches on start up
/k: Runs the following string as a command
clink inject -q: Starts clink
%userprofile%\\dotfiles\\doskeys.cmd: Since cmd.exe doesn't have something like .bashrc, I use a .cmd file which contains a bunch of doskey, doskey is similar to alias in bash. That file is being run and activates my "aliases" to work within the terminal
The text was updated successfully, but these errors were encountered:
clink
is a tool which transformscmd.exe
on Windows to give it the power and customization of Windows Terminal while preserving the native speed of cmd.exe. Really good out-of-the-box experience including syntax highlighting, autosuggestions and other stuff.Here's how I'm using it in my config to run cmd.exe with clink:
Explanation:
package.config:sub(1, 1) == "\\"
: Checks the path separator, if its a backslash we are on Windows, otherwise do not change the shell/s
: Suppress cmd.exe copyright information that launches on start up/k
: Runs the following string as a commandclink inject -q
: Starts clink%userprofile%\\dotfiles\\doskeys.cmd
: Since cmd.exe doesn't have something like.bashrc
, I use a.cmd
file which contains a bunch ofdoskey
,doskey
is similar toalias
in bash. That file is being run and activates my "aliases" to work within the terminalThe text was updated successfully, but these errors were encountered: