1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-24 14:19:55 +00:00

feat: Add nproc alias for osx

This commit is contained in:
Thomas A. Christensen II 2023-10-06 10:57:26 -05:00
parent 791f4ae7b7
commit ad7c7b7a4e
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -12,6 +12,11 @@ alias ls=lsd
alias code=codium alias code=codium
{{- end }} {{- end }}
# Platform-specific aliases
{{- if eq .chezmoi.os "darwin" }}
alias nproc='sysctl -n hw.logicalcpu'
{{- end }}
# Universal aliases # Universal aliases
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias please='sudo $(fc -ln -1)' alias please='sudo $(fc -ln -1)'