-
- Downloads
completion: Only run cd if .dim-last-path exists
We currently always cat .dim-last-path and cd to whatever content it has. However, it's not guarantee to exists, so the initial cat might not work. Make sure we only switch to it if the file exists in the first place. Suggested-by:Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by:
Maxime Ripard <mripard@kernel.org>
parent
b4f17a81
No related branches found
No related tags found
Please register or sign in to comment