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:
parent
791f4ae7b7
commit
ad7c7b7a4e
1 changed files with 5 additions and 0 deletions
|
@ -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)'
|
||||||
|
|
Loading…
Reference in a new issue