Merge pull request #5 from scorphus/stderr-done-right
Replace disabled stderr redirection char ^ with 2>
This commit is contained in:
commit
ec39d2e244
1 changed files with 2 additions and 2 deletions
|
@ -26,11 +26,11 @@ function __slavic_current_folder
|
||||||
end
|
end
|
||||||
|
|
||||||
function __slavic_git_status_codes
|
function __slavic_git_status_codes
|
||||||
echo (git status --porcelain ^/dev/null | sed -E 's/(^.{3}).*/\1/' | tr -d ' \n')
|
echo (git status --porcelain 2>/dev/null | sed -E 's/(^.{3}).*/\1/' | tr -d ' \n')
|
||||||
end
|
end
|
||||||
|
|
||||||
function __slavic_git_branch_name
|
function __slavic_git_branch_name
|
||||||
echo (git rev-parse --abbrev-ref HEAD ^/dev/null)
|
echo (git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
||||||
end
|
end
|
||||||
|
|
||||||
function __slavic_rainbow
|
function __slavic_rainbow
|
||||||
|
|
Loading…
Reference in a new issue