Compare commits

..

No commits in common. "1f4bb9233df13d9171f38356045e9fff0585283d" and "ba9923feac6f86c7a4a6b6471a811aef33db1b99" have entirely different histories.

5 changed files with 9 additions and 15 deletions

View File

@ -113,6 +113,6 @@ export NVM_DIR="${HOME}"/.nvm
nohup startlxde 2>/dev/null 1>&2 & disown
while true ; do
dwm 2>>/home/tosuman/.xinit.log 1>&2
dwm
sleep 0.5
done

View File

@ -86,7 +86,7 @@ alias aptclean='sudo apt -y update && sudo apt -y full-upgrade &&
sudo apt -y dist-upgrade && sudo apt -y autoremove &&
sudo apt -y clean'
alias pacman='pacman --color=auto'
alias pcker='nvim "${HOME}"/.config/nvim/lua/*'
alias pcker='nvim "${HOME}"/.config/nvim/lua/*/packer.lua'
alias after='nvim "${HOME}"/.config/nvim/after/plugin'
alias l='\ls --width="${COLUMNS}" --sort=time --time=mtime --color=auto --time-style=long-iso -bharZ1l'
# alias l='lsd --timesort --color=auto -harZ1l'
@ -375,9 +375,6 @@ alias new_mp_project='clear && builtin cd -P ./ && python3 -m venv ./env/ && . .
alias check_for_tabs="clear && 2>/dev/null grep -r ' ' ../ | grep -v pre-rebase | grep -v sendemail | grep -v update.sample | grep -v fsmonitor | grep -v pre-push | grep -v commit-msg | grep -v pre-commit | grep -v push-to- | grep -v pre-receive | grep -v ChangeLog | grep -v '.git/config' | grep -v autogen | grep -v configure.ac | grep -v Makefile | grep -v debian | grep -v lxpolkit-listener | grep -v '.git' | grep -v desktop-files | grep -v autostart.vala | grep -v combobox | grep -v main.vala | grep -v vala | grep -v lxsession-default | grep -v logout | grep -v settings-daemon | grep -v xdg-autostart | grep -v data/images | grep -v compile.sh | grep -v lxsession.xml | grep -v lxsession-utils"
# alias lxsession-edit='cd /tmp/lxsession/lxsession-edit && ./compile.sh && 2>/dev/null ./lxsession-edit'
function x () {
cc -std=c89 -Wall -Wextra -pedantic -Werror -Wconversion -g3 -O0 -o main *.c && ./main "${@}"
cc -std=c89 -Wall -Wextra -pedantic -Werror -Wconversion -g -O0 -o main *.c && ./main "${@}"
rm -f ./main
}
function x2 () {
cc -std=c89 -Wall -Wextra -pedantic -Werror -Wconversion -g3 -O0 -o main *.c && ./main "${@}"
}

View File

@ -1,2 +1,2 @@
vim.g.c_formatter_42_set_equalprg = false
vim.g.c_formatter_42_format_on_save = true
vim.g.c_formatter_42_set_equalprg = 0
vim.g.c_formatter_42_format_on_save = 1

View File

@ -32,9 +32,9 @@ end)
-- vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")
vim.keymap.set("n", "<leader>s", ":%s/\\<<C-r><C-w>\\>/<C-r><C-w>/gI<Left><Left><Left>")
vim.keymap.set("n", "<leader>X", "<cmd>!chmod +x %<CR>")
vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>")
vim.keymap.set("n", "<leader>x", ":w<CR>:!cc -std=c89 -Wall -Wextra -pedantic -Werror -Wconversion -g3 -O0 -o main *.c && ./main ; rm -f ./main<CR>")
vim.keymap.set("n", "<leader>x", ":w<CR>:!cc -std=c89 -Wall -Wextra -pedantic -Werror -Wconversion -g -O0 -o main *.c && ./main ; rm -f ./main<CR>")
vim.keymap.set("n", "<leader>c", "mz:s/\\(^\\s*\\)\\(.*$\\)/\\1\\/* \\2 *\\//g<CR>:noh<CR>`z")
vim.keymap.set("n", "<leader>C", "mz:s/\\/\\* \\(.*\\) \\*\\//\\1/g<CR>:noh<CR>`z")

View File

@ -1,6 +1,6 @@
[user]
name = tosu
email = timo42@proton.me
name = cubernetes
email = timo42@protonmail.com
[init]
defaultBranch = main
[filter "lfs"]
@ -12,6 +12,3 @@
s = status
a = add
ci = commit
d = diff
[gpg]
program = gpg