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
[user] | |
name = Łukasz Kurzyniec | |
email = foo | |
[core] | |
autocrlf = false | |
safecrlf = false | |
excludesfile = C:\\Users\\lkurzyniec\\.gitignore_global | |
editor = notepad | |
[diff] | |
tool = winmerge |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
The repo .git\hooks folder isn't committed into source control. You may wonder how you share the goodness of the automated scripts you create with the team. | |
The good news is that, from Git version 2.9, you can now map Git hooks to a folder that can be committed into source control. | |
You could do that by updating the global settings configuration for your Git repository: | |
``` | |
Git config --global core.hooksPath '~/.githooks' | |
``` |
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
name: Dependabot Approve and Merg | |
on: pull_request_target | |
permissions: | |
pull-requests: write | |
contents: write | |
issues: write | |
jobs: |
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 | |
set loc=%cd% | |
terraform graph -type=plan > graph.txt | |
move /Y graph.txt "C:\Program Files\Graphviz\bin" | |
cd "C:\Program Files\Graphviz\bin" | |
dot -Tsvg graph.txt > graph.svg |
git worktree add ../app-example-2 other-feature
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
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
oh-my-posh init pwsh --config ~/lk.omp.json | Invoke-Expression | |
Import-Module -Name Terminal-Icons | |
Enable-PoshTooltips | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
Import-Module DockerCompletion | |
Set-PSReadLineOption -PredictionSource History # F2 to switch | |
# Set-PSReadLineOption -PredictionViewStyle ListView |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"version": 2, | |
"console_title_template": "{{ .Shell }} in {{ .Folder }}", | |
"auto_upgrade": true, | |
"disable_notice": true, | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", |
NewerOlder