Created
April 25, 2020 17:12
-
-
Save varunswarup0/d557f60b7a42ab300058533a84c27482 to your computer and use it in GitHub Desktop.
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
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
# Autocompletion for arrow keys | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
# New-Alias <alias> <aliased-command> | |
New-Alias cl clear | |
function co { | |
code . | |
} | |
function op { | |
ii . | |
} | |
function yi { | |
yarn install | |
} | |
function ys { | |
yarn start | |
} | |
function opera { | |
ii $PROFILE.CurrentUserAllHosts | |
} | |
function showName { | |
(Get-ChildItem).BaseName | |
} | |
function sh { | |
Get-ChildItem -Name | |
} | |
function show { | |
Get-ChildItem | Format-Wide -Column 2 | |
} | |
function pushHard { | |
git push --set-upstream origin master | |
} | |
function ignore { | |
git checkout -f | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment