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 5 years have passed since last update.

fishシェルでaliasを作る

Posted at

作り方

  1. alias [alias名] [スクリプト]
  2. funcsave [alias名]

削除方法

  1. functions -e [alias名]

ポイント

fishシェルの場合 alias コマンドは functionのラッパーになるので、他のシェルのように永続化されません。
そのため、そのシェルのセッションで作ったaliasを fishのfunctionとして登録する必要があります。

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?