This file contains hidden or 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
# Update git configuration with customisations | |
# Aliases | |
# Condense git log to one line per commit | |
git config --global alias.lol 'log --oneline --decorate' | |
# One-line log showing graph | |
git config --global alias.graph 'log --oneline --graph --decorate' | |
# Show dates in reflog |
This file contains hidden or 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
# Import PoshGit | |
if ($null -ne (Get-Module -Name posh-git -ListAvailable)) { | |
Write-Host "Importing Posh-Git" | |
Import-Module Posh-Git | |
} | |
else { | |
Write-Host -ForegroundColor Red "You don't have Posh-Git installed! If you use git, I highly recommend it!`nUse the command 'Install-Module -Name posh-git -Scope AllUsers' from an Admin PowerShell to install " | |
} | |
if ($null -ne (Get-Module -Name Terminal-Icons -ListAvailable)) { |
This file contains hidden or 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": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
// You can add more global application settings here. | |
// To learn more about global settings, visit https://aka.ms/terminal-global-settings |