Open SilverBut opened 4 years ago
Seems some variable is not correctly escaped while truncating folder names. Let me check if I can have a quick (maybe dirty) solution first.
Update: this fix seems works. The target file is ~/.local/share/omf/themes/spacefish/functions/__sf_util_truncate_dir.fish
.
Would someone come and check this patch? My Yubikey is offline recently and need some one to submit it for me. Thanks.
14c14
< echo (string join / $folders[(math 0 - $truncate_to)..-1])
---
> echo (string join / -- $folders[(math 0 - $truncate_to)..-1])
Bug Report
Current Behavior
Here is a guide to reproduce this bug:
Expected Behavior
The error shall not be reported.
Relevant
Fish
ConfigurationHere are all configurations related to
spacefish
but I don't think they are relevent. Write them in case you need to see them:Environment
2.7.0
fish, version 3.0.2
oh-my-fish