mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
rc: fix #56
This commit is contained in:
parent
42428e00ca
commit
4766724ba4
@ -144,7 +144,7 @@ fi
|
|||||||
if [[ $UNAME != Darwin ]]; then
|
if [[ $UNAME != Darwin ]]; then
|
||||||
(who -H -w -u|head -n10&)
|
(who -H -w -u|head -n10&)
|
||||||
(echo "")
|
(echo "")
|
||||||
(last -10 -w -x&)
|
# (last -10 -w -x&)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $UNAME = Darwin ]]; then
|
if [[ $UNAME = Darwin ]]; then
|
||||||
@ -247,15 +247,10 @@ export CLICOLOR=1
|
|||||||
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
||||||
|
|
||||||
# make
|
# make
|
||||||
if [[ $UNAME != Darwin ]]; then
|
|
||||||
export NPROC=$(nproc)
|
|
||||||
else
|
|
||||||
export NPROC=$(sysctl -n hw.ncpu)
|
|
||||||
fi
|
|
||||||
alias maken="make -j$NPROC"
|
alias maken="make -j$NPROC"
|
||||||
|
|
||||||
# Ensure that pkg-config paths are found
|
# Ensure that pkg-config paths are found
|
||||||
export PKG_CONFIG_PATH=$(which pkg-config)
|
#export PKG_CONFIG_PATH=$(which pkg-config)
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
|
9
rc/zshrc
9
rc/zshrc
@ -79,7 +79,7 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
|||||||
if [[ $UNAME != Darwin ]] then;
|
if [[ $UNAME != Darwin ]] then;
|
||||||
(who -H -w -u|head -n10&)
|
(who -H -w -u|head -n10&)
|
||||||
(echo "")
|
(echo "")
|
||||||
(last -10 -w -x&)
|
# (last -10 -w -x&)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $UNAME = Darwin ]]; then
|
if [[ $UNAME = Darwin ]]; then
|
||||||
@ -184,15 +184,10 @@ export CLICOLOR=1
|
|||||||
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
||||||
|
|
||||||
# make
|
# make
|
||||||
if [[ $UNAME != Darwin ]]; then
|
|
||||||
export NPROC=$(nproc)
|
|
||||||
else
|
|
||||||
export NPROC=$(sysctl -n hw.ncpu)
|
|
||||||
fi
|
|
||||||
alias maken="make -j$NPROC"
|
alias maken="make -j$NPROC"
|
||||||
|
|
||||||
# Ensure that pkg-config paths are found
|
# Ensure that pkg-config paths are found
|
||||||
export PKG_CONFIG_PATH=$(which pkg-config)
|
#export PKG_CONFIG_PATH=$(which pkg-config)
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user