Created
August 25, 2018 15:45
-
-
Save kohnakagawa/7fe424e6d30cc0e15f29a6d6b52cf179 to your computer and use it in GitHub Desktop.
C:\Users\<USERNAME>\Documents\WindowsPowerShell に配置するPowerShellの設定ファイル
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-Module PSReadLine | |
Set-PSReadlineOption -EditMode Emacs | |
function touch { | |
New-Item -type file $args | |
} | |
function g { | |
cd "$(ghq root)\$(ghq list | peco)" | |
} | |
function gh { | |
$url=$(ghq list | peco) | |
hub browse $($url.Split("/")[1,2] -join "/") | |
} |
PowerShellのエイリアスについて
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements: