Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーが(すべてのセッションで)最後にアクセスしたディレクトリを記憶する必要がある単純なプラグインを作成しています。ファイルを使用してディレクトリへのパスを保存しようと考えていますが、これ.stupid_plugin_file_conf_fileをユーザーのホーム ディレクトリにダンプするのは嫌です。より良い代替手段は、スクリプトの親ディレクトリに保存することです。一般的な慣行は何ですか?
.stupid_plugin_file_conf_file
プラグインとそれが使用するすべてのファイルは、 の下のサブディレクトリに配置する必要があります~/.oh-my-zsh/plugins。
~/.oh-my-zsh/plugins