From 96a4462fcaa6d864ab12fc7a744ef21dc94ac510 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 25 Jun 2024 01:01:53 +0300 Subject: Added some C env vars for CS50x course, to be able to submit locally --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index a63aab2..620c08f 100644 --- a/.zshrc +++ b/.zshrc @@ -101,6 +101,11 @@ export FZF_DEFAULT_OPTS=" \ --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \ --color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8" +# For CS50x, can be remvoed later +export CC="clang" +CFLAGS="-ferror-limit=1 -gdwarf-4 -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-gnu-folding-constant -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wshadow" +LDLIBS="-lcrypt -lcs50 -lm" + # Aliases alias ls='ls --color' alias c='clear' -- cgit v1.3.1