57
58
59
60
61
62
63
64
65
66
|
alias gssh="SSH_AUTH_SOCKET=$sock ssh"
alias gssh-add="SSH_AUTH_SOCKET=$sock ssh-add"
alias gsftp="SSH_AUTH_SOCKET=$sock sftp"
end
if test (uname -s) = Darwin
set -x MAKEFLAGS -j(math (sysctl -n machdep.cpu.thread_count)'*2')
else if type -q nproc
set -x MAKEFLAGS -j(math (nproc)'*2')
end
|
>
>
|
57
58
59
60
61
62
63
64
65
66
67
68
|
alias gssh="SSH_AUTH_SOCKET=$sock ssh"
alias gssh-add="SSH_AUTH_SOCKET=$sock ssh-add"
alias gsftp="SSH_AUTH_SOCKET=$sock sftp"
end
if test (uname -s) = Darwin
set -x MAKEFLAGS -j(math (sysctl -n machdep.cpu.thread_count)'*2')
else if test (uname -s) = NetBSD
set -x MAKEFLAGS -j(math (sysctl -n hw.ncpu)'*2')
else if type -q nproc
set -x MAKEFLAGS -j(math (nproc)'*2')
end
|