Skip to content

Instantly share code, notes, and snippets.

@lokswin
Last active November 3, 2023 11:38
Show Gist options
  • Save lokswin/fc3f0f6b266f9c69dafe1a808efdefa5 to your computer and use it in GitHub Desktop.
Save lokswin/fc3f0f6b266f9c69dafe1a808efdefa5 to your computer and use it in GitHub Desktop.
# Faster Makefiles. (jobs,threads, makefile)
# export MAKEFLAGS=-j$(($(grep -c ^processor /proc/cpuinfo) - 1))
# export MAKEFLAGS=-l
# export MAKEFLAGS=-j
# alias make='make -j'
# MAKEFLAGS += --output-sync=target
# export MAKE=-j
export MAKEFLAGS=-j72
export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc)
# some more aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias es='eval $(ssh-agent -s)'
alias es='ssh-add -l'
alias ..='cd ..'
alias ...='cd ../../../'
alias l='ls -lah'
alias c='clear'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment