LoginSignup
0
0

More than 3 years have passed since last update.

fishでコマンドからgithubを開きたい

Posted at

やりたいこと

コマンドから直でgithubを開けたら便利だなと思って調べていたら参考記事をみつけた
fishの場合をメモ

~.config/fish/config.fishに下記のように書き込む

alias gh "open https://github.(git config remote.origin.url | cut -f2 -d. | tr ':' /)"

参考資料

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0