Skip to content

Commit 2808d48

Browse files
committed
repair rc+es hooks
broke during migration to embedfs
1 parent 996f051 commit 2808d48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/hooks/hook.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fn dir {
2-
stdout=` + "`" + `{dirp $*};
2+
stdout=`{dirp $*};
33
if {~ $bqstatus 2 } {
44
$EDITOR $stdout;
55
return $status;

src/hooks/hook.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fn dir {
2-
stdout=` + "`" + `{dirp $*};
2+
stdout=`{dirp $*};
33
if (~ $bqstatus 2 ) {
44
$EDITOR $stdout;
55
return $status;
@@ -10,7 +10,7 @@ fn dir {
1010
uptime;
1111
return $status;
1212
};
13-
13+
1414
echo Switching to $stdout;
15-
cd $stdout
15+
cd $stdout;
1616
}

0 commit comments

Comments
 (0)