This commit is contained in:
Timo Schmidt 2023-03-27 01:00:26 +02:00
parent 33e23e355d
commit 646a7ddf2b
2 changed files with 7 additions and 4 deletions

View File

@ -8,7 +8,8 @@ alias git='EDITOR=vim git'
alias cmatrix='cmatrix -cu3 -Cred'
alias gca='git add * && git commit -m *'
alias watch='watch -cn.1'
alias norm='alacritty -e sh -c '\''git rev-parse --show-toplevel || { echo "Exiting in 5"; sleep 1; echo "Exiting in 4"; sleep 1; echo "Exiting in 3"; sleep 1; echo "Exiting in 2"; sleep 1; echo "Exiting in 1"; sleep 1; } && cd "$(git rev-parse --show-toplevel)" && watch -cn.5 norminette -R CheckForbiddenSourceHeader'\'' &'
alias push='git push origin master; git push gitea master'
alias norm='alacritty -e sh -c '\''git rev-parse --show-toplevel || { echo "Exiting in 5"; sleep 1; echo "Exiting in 4"; sleep 1; echo "Exiting in 3"; sleep 1; echo "Exiting in 2"; sleep 1; echo "Exiting in 1"; sleep 1; } && cd "$(git rev-parse --show-toplevel)" && watch -cn.5 date \&\& norminette -R CheckForbiddenSourceHeader'\'' & disown'
jmp () {
cd "$(find . -name "${1}" -print -quit)"
if [ "${?}" = "0" ]; then

6
.vimrc
View File

@ -17,14 +17,16 @@ set showcmd
set noswapfile
set hlsearch
set ruler
filetype plugin on
filetype indent on
" set autoread
set autoread
set so=7
set paste
" set paste
" Ignore case when searching
set ignorecase