Skip to content

Commit

Permalink
update post
Browse files Browse the repository at this point in the history
  • Loading branch information
mnishiguchi committed Feb 3, 2024
1 parent 2692336 commit 5375a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/20240202-hexdocs-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ macOS の `open` コマンドは、ターミナルからファイルやアプリ
以下は一例です。 `open` コマンドが存在しない場合に、`open` という名称のエイリアスを定義しています。
[Linux]の場合には [xdg-open] が存在するという前提で、あえてそのチェックはしていません。[xdg-open] が存在しない環境でお使いの場合は適宜コードを調整してください。

```bash:ターミナル
```bash:.bashrc
# make sure the open command is available
if ! command -v open &>/dev/null; then
alias open='xdg-open &>/dev/null'
Expand Down

0 comments on commit 5375a4f

Please sign in to comment.