Merge pull request #5 from scorphus/stderr-done-right
Replace disabled stderr redirection char ^ with 2>main
commit
ec39d2e244
|
@ -26,11 +26,11 @@ function __slavic_current_folder
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
function __slavic_rainbow
|
||||
|
|
Loading…
Reference in New Issue