mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +00:00
fix(shell): expand scope of string replace to include dir
This commit is contained in:
parent
642880cd98
commit
77e3816a37
@ -108,7 +108,7 @@ function tv_smart_autocomplete
|
||||
for i in $result
|
||||
commandline -it -- $dir(string escape -- $i)' '
|
||||
# optional, if you want to replace '/home/foo/' with '~/', comment out above and uncomment below
|
||||
# commandline -it -- $dir(string replace --all $HOME '~' (string escape -- $i))' '
|
||||
# commandline -it -- (string replace --all $HOME '~' $dir(string escape -- $i))' '
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user