Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stderr redirection compatible with Fish 3.0. #3

Merged
merged 1 commit into from
Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions functions/bg:.fish
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ function bg: -a color
and set -l text $argv[2..-1]

if set -q text
set_color -b $color ^/dev/null
set_color -b $color 2> /dev/null
inline: "$text"
set_color normal ^/dev/null
set_color normal 2> /dev/null
end
end
4 changes: 2 additions & 2 deletions functions/bold:.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function bold:
set_color -o ^/dev/null
set_color -o 2> /dev/null
inline: "$argv"
set_color normal ^/dev/null
set_color normal 2> /dev/null
end
4 changes: 2 additions & 2 deletions functions/tint:.fish
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ function tint: -a color
and set -l text $argv[2..-1]

if set -q text
set_color $color ^/dev/null
set_color $color 2> /dev/null
inline: "$text"
set_color normal ^/dev/null
set_color normal 2> /dev/null
end
end
4 changes: 2 additions & 2 deletions functions/underline:.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function underline:
set_color -u ^/dev/null
set_color -u 2> /dev/null
inline: "$argv"
set_color normal ^/dev/null
set_color normal 2> /dev/null
end