문제

I'm writing a simple plugin that needs to remember the last directory the user has visited (across all sessions). I'm thinking I'll use a file to store the path to the directory, but I'd hate to dump this .stupid_plugin_file_conf_file in the user's home directory. A better alternative would be to store it in the script's parent directory. What's common practice?

도움이 되었습니까?

해결책

Your plugin and any files it uses should go in a subdirectory under ~/.oh-my-zsh/plugins.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top