0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Windows10でgit bushからsublimeを開く方法

Posted at

以下のリンクを参考にしました。
https://stackoverflow.com/questions/32282847/opening-sublime-text-from-windows-git-bash

まず.bash_profileファイルを作成します。
作成は以下の動画を参考にしました。gitbashでtouch .bash_profileと打ちます。
https://www.youtube.com/watch?v=Co9-jPuNvR8

sublimeを開いて以下を入力し、先ほどの.bash_profileに上書き保存します。
alias subl="/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"

以上でsublコマンドが使用できるようになっているはずです。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?