Skip to content

Instantly share code, notes, and snippets.

@Jae-kwang
Last active December 14, 2017 08:38
Show Gist options
  • Save Jae-kwang/46370106d5287f9661a9c1e254fcf134 to your computer and use it in GitHub Desktop.
Save Jae-kwang/46370106d5287f9661a9c1e254fcf134 to your computer and use it in GitHub Desktop.
onen github repository
// 터미널에서 해당 위치의 github 페이지 열기
function og() {
local repo=$(basename `git rev-parse --show-toplevel`)
open "https://github.com/${repo}"
}
// insert .bashrc or .zshrc
// source .bashrc or .zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment