This commit is contained in:
k1574 2022-01-23 22:18:07 +05:00
parent 76e351d7c7
commit fc7e084839

View file

@ -129,7 +129,7 @@ fn c {
oldpwd = `{pwd} oldpwd = `{pwd}
if(builtin cd $1 && test -n $1){ if(builtin cd $1 && test -n $1){
cat $cdfile > $tmpcdfile cat $cdfile > $tmpcdfile
{echo $oldpwd ; cat $tmpcdfile } | \ {pwd ; cat $tmpcdfile } | \
sed $maxcds^q | goblin uniq -U > $cdfile sed $maxcds^q | goblin uniq -U > $cdfile
} }
} }