This commit is contained in:
Roman Volovoy
2026-06-04 19:08:10 +02:00
parent 6d7fdefc22
commit dbb47e6933
3 changed files with 28 additions and 1 deletions

View File

@@ -19,7 +19,12 @@ cc-run(){
file="$1"
shift
cc -std=c99 "${file}" -o "${file}.out" -Wall -Wextra -Werror && \
if command -v norminette &>/dev/null
then
norminette "${file}"
fi
cc -std=c99 "${file}" -o "${file}.out" -Wall -Wextra -Werror -fsanitize=address && \
"./${file}.out" "$@"
cc-clean

0
ft_putnbr.c Normal file
View File

View File

@@ -22,3 +22,25 @@ vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"
vim.opt.spelllang = { 'en_us' }
vim.opt.listchars = {
tab = "» ",
trail = "·",
extends = "",
precedes = "",
eol = "",
nbsp = ""
}
-- Enable the display of hidden characters
vim.opt.list = true
vim.env.BASH_ENV = vim.env.HOME .. "/dotfiles/aliases"
vim.opt.shell = "bash"
-- vim.opt.shell = vim.env.HOME .. "/.nvim-bash"
vim.opt.shellcmdflag = "-c"
-- vim.opt.shellcmdflag = "-c 'source ~/dotfiles/aliases && shopt -s expand_aliases && '"
-- vim.g.terminal_emulator = 'bash'