This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- default script for clink, called by init.bat when injecting clink | |
-- !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED | |
-- !!! Use "%CMDER_ROOT%\config\<whatever>.lua" to add your lua startup scripts | |
-- luacheck: globals clink | |
-- At first, load the original clink.lua file | |
-- this is needed as we set the script path to this dir and therefore the original | |
-- clink.lua is not loaded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"profiles": [ | |
{ | |
"tabTitle": "Git Bash", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke-Expression (& { (zoxide init powershell | Out-String) }) | |
if (Test-Path alias:ls*) { Remove-Alias ls } | |
function l { exa --git --icons --group-directories-first --ignore-glob="ntuser*|NTUSER*" --grid $args } | |
function ls { exa --git --icons --group-directories-first --ignore-glob="ntuser*|NTUSER*" --grid $args } | |
function ll { exa --git --icons --group-directories-first --ignore-glob="ntuser*|NTUSER*" -l $args } | |
function .. { cd .. } | |
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff] | |
tool = bc | |
[difftool "bc"] | |
cmd=\"/mnt/c/Program Files/Beyond Compare 4/BComp.exe\" "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)" | |
[mergetool "bc"] | |
cmd=\"/mnt/c/Program Files/Beyond Compare 4/BComp.exe\" "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)" "$(wslpath -aw $BASE)" "$(wslpath -aw $MERGED)" | |
[merge] | |
tool = bc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[http] | |
cainfo = "<ca-bundle>" | |
check-revoke = false | |
[net] | |
git-fetch-with-cli = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;= @echo off | |
;= rem Call DOSKEY and use this file as the macrofile | |
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0% | |
;= rem In batch mode, jump to the end of the file | |
;= goto:eof | |
;= Add aliases below here | |
e.=explorer . | |
log=git log --oneline --all --graph --decorate $* | |
amend=git commit --amend $* | |
rebase=git rebase -i $* |