Compare commits
3 Commits
308196bc6a
...
master
Author | SHA1 | Date | |
---|---|---|---|
6c94a12fae | |||
217f05ce45 | |||
63b347db71 |
@ -6,7 +6,7 @@
|
||||
" By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ "
|
||||
" +#+#+#+#+#+ +#+ "
|
||||
" Created: 2023/01/19 15:09:40 by cchauvet #+# #+# "
|
||||
" Updated: 2023/01/19 16:55:30 by cchauvet ### ########.fr "
|
||||
" Updated: 2023/01/19 17:02:01 by cchauvet ### ########.fr "
|
||||
" "
|
||||
" **************************************************************************** "
|
||||
|
||||
@ -58,6 +58,7 @@ nnoremap <silent> ;c gg/^SRC<cr>f=C= <esc>:r! find . -type f -name '*.c' \| cut
|
||||
nnoremap <silent> ;I :PlugInstall<cr>
|
||||
nnoremap <silent> ;U :PlugUpdate<cr>
|
||||
nnoremap <silent> ;c gg/^SRCS<cr>f=C= <esc>:r! find *.c -type f <cr>Vgg/^SRCS<cr>J
|
||||
nnoremap <silent> ;u :!wget -O ~/.config/nvim/init.vim 'https://git.chauvet.pro/starnakin/.config/raw/branch/master/nvim/init.vim'<cr><cr>;s
|
||||
|
||||
" THEME
|
||||
set termguicolors
|
||||
|
Submodule nvim/plugged/YouCompleteMe deleted from 50379d35dd
64
zsh/.zshrc
Normal file
64
zsh/.zshrc
Normal file
@ -0,0 +1,64 @@
|
||||
export MAIL="cchauvet@student.42angouleme.fr"
|
||||
function commit {
|
||||
git add .
|
||||
git commit -m $1
|
||||
git push
|
||||
}
|
||||
alias gcl='git clone'
|
||||
alias ga='git add'
|
||||
alias gr='git restore'
|
||||
alias grm='git rm'
|
||||
alias gpl='git pull'
|
||||
alias gp='git push'
|
||||
alias gs='git status'
|
||||
alias gcm='git commit -m'
|
||||
|
||||
alias vim='nvim'
|
||||
alias vi='nvim'
|
||||
alias v='nvim'
|
||||
|
||||
export PS1='%F{green}%/
|
||||
$%f '
|
||||
|
||||
export RPS1='%F{red}%B%(?..[%?])%f%b'
|
||||
alias gcf='gcc -Wall -Werror -Wextra -g -O0'
|
||||
alias gc='gcc -g -O0'
|
||||
|
||||
function val {
|
||||
gc $@
|
||||
valgrind ./a.out
|
||||
rm ./a.out
|
||||
}
|
||||
function valf {
|
||||
gcf $@
|
||||
valgrind --leak-check=full --show-leak-kinds=all ./a.out
|
||||
rm ./a.out
|
||||
}
|
||||
function ex {
|
||||
gcf $@
|
||||
./a.out
|
||||
rm ./a.out
|
||||
}
|
||||
function exx {
|
||||
gc $@
|
||||
./a.out
|
||||
rm ./a.out
|
||||
}
|
||||
|
||||
function exa {
|
||||
gcf *.c
|
||||
./a.out $@
|
||||
rm ./a.out
|
||||
}
|
||||
|
||||
function debuf {
|
||||
gcf $@
|
||||
gdb -x -w ./a.out
|
||||
rm ./a.out
|
||||
}
|
||||
stty stop undef
|
||||
stty start undef
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
alias q=exit
|
||||
export fpath=($HOME/.local/bin/SupraVim $fpath)
|
||||
autoload compinit; compinit
|
Reference in New Issue
Block a user