[FishShell]の設定ディレクトリを作成できません。 $XDG_CONFIG_HOME変数を設定します。

[FishShell]の設定ディレクトリを作成できません。 $XDG_CONFIG_HOME変数を設定します。

fishshellを起動すると、次のエラーが発生します。

melanie:~ melanie$ fish

fish: Unable to create a configuration directory for fish. Your personal
settings will not be saved. Please set the $XDG_CONFIG_HOME variable to
a directory where the current user has write access.

この変数をどのように設定しますか?

ベストアンサー1

おすすめ記事