mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Fix clean for tilde home directories
Ensure that wd clean! does not remove warp points to directories with tilde expansion home directories
This commit is contained in:
parent
291e96dcd0
commit
300ed23b45
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ wd_clean() {
|
|||
key=${arr[1]}
|
||||
val=${arr[2]}
|
||||
|
||||
if [ -d "$val" ]
|
||||
if [ -d "`eval echo ${val//>}`" ]
|
||||
then
|
||||
wd_tmp=$wd_tmp"\n"`echo $line`
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue