Created
September 17, 2021 13:54
-
-
Save adujardin/616e9cdad4b9fe2ed6f974d7599c0c5c to your computer and use it in GitHub Desktop.
Random zsh / bash alias
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias make='make -j$(nproc)' | |
alias m='cmake ..; make -j$(nproc)' | |
alias c='mkdir -p build; cd build; cmake ..; make -j$(nproc)' | |
alias b='mkdir -p build; cd build; cmake .. -G Ninja; ninja' | |
alias magicmerge='git merge -s recursive -Xignore-space-at-eol' | |
alias gsa='git submodule add ' | |
alias dock='docker run -it --privileged --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all -v /:/host --network=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment