Skip to content

Instantly share code, notes, and snippets.

@Simhyeon
Created April 8, 2021 14:17
Show Gist options
  • Save Simhyeon/d83d83d5230de1de15ec99558280174d to your computer and use it in GitHub Desktop.
Save Simhyeon/d83d83d5230de1de15ec99558280174d to your computer and use it in GitHub Desktop.
My microsoft powershell profile
# PsReadLine config this make tab complete similiar to bash
Set-PSReadlineKeyHandler -Key Tab -Function Complete
# Start powership prompt
Invoke-Expression (&starship init powershell)
# Aliases and functions
function bk { cd ../ }
function cl { clear }
function xo { explorer.exe . }
function touch {New-Item -ItemType File -Name ($args[0])}
function ga {git add ($args[0])}
function gcmm {git commit -m ($args[0])}
function gph {git push ($args[0], $args[1])}
function lsa {exa}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment