|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
fish shell settingsUnder Linux I use the fish shell. I have a detailed video about it (in Hungarian). Here are my relevant settings for Nim development: set -gx NIMBLE "$HOME/.nimble" set -gx PATH "$PATH:$NIMBLE/bin" abbr nb nimbang abbr ncc "nim c -o:a.out" # Nim C Compiler :) abbr nimsilent "nim c --hints:off --warnings:off" # silent compilation abbr nimrel "nim c -d:release" # release build abbr nimspeed "nim c --cc:clang -d:release --opt:speed" # fast EXE abbr nimsmall "nim c -d:release --opt:size --passL:-s" # small EXE Same thing in bash/zsh: export NIMBLE="$HOME/.nimble" export PATH="$PATH:$NIMBLE/bin" alias nb='nimbang' alias ncc='nim c -o:a.out' # Nim C Compiler :) alias nimsilent='nim c --hints:off --warnings:off' # silent compilation alias nimrel='nim c -d:release' # release build alias nimspeed='nim c --cc:clang -d:release --opt:speed' # fast EXE alias nimsmall='nim c -d:release --opt:size --passL:-s' # small EXE |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |