Skip to content

Commit

Permalink
Make stderr redirection compatible with Fish 3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow authored and scorphus committed Jan 7, 2019
1 parent c2701e0 commit 3570c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/thefuck-command-line.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function thefuck-command-line
env THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $history[1] ^ /dev/null | read fuck
env THEFUCK_REQUIRE_CONFIRMATION=0 thefuck $history[1] 2> /dev/null | read fuck
[ -z $fuck ]; and return
commandline -r $fuck
end

0 comments on commit 3570c44

Please sign in to comment.