Commit 1427fbff authored by slavaGanzin's avatar slavaGanzin
Browse files

redirect output

parent a1200f5b
function git_fetch_on_chpwd {
([[ -d .git ]] && git fetch --all >! ./.git/FETCH_LOG &)
([[ -d .git ]] && git fetch --all &>! ./.git/FETCH_LOG &)
}
chpwd_functions=(${chpwd_functions[@]} "git_fetch_on_chpwd")
unset git_fetch_on_cpwd
chpwd_functions+=(git_fetch_on_chpwd)
git_fetch_on_chpwd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment