This commit is contained in:
Timo Schmidt 2023-03-27 18:15:05 +02:00
parent 5f38e32c2e
commit 6ed3c0f733
1 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ alias gca='git add * && git commit -m *'
alias watch='watch -cn.1' alias watch='watch -cn.1'
alias push='git push origin master; git push gitea master' 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' 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'
alias l='ls -larthF --color=auto'
jmp () { jmp () {
cd "$(find . -name "${1}" -print -quit)" cd "$(find . -name "${1}" -print -quit)"
if [ "${?}" = "0" ]; then if [ "${?}" = "0" ]; then
@ -40,7 +41,8 @@ PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\]\w\[\033[m\]\
##----------------------------------------------------- ##-----------------------------------------------------
## better-ls ## better-ls
if [ -f /nfs/homes/tischmid/.config/synth-shell/better-ls.sh ] && [ -n "$( echo $- | grep i )" ]; then if [ -f /nfs/homes/tischmid/.config/synth-shell/better-ls.sh ] && [ -n "$( echo $- | grep i )" ]; then
source /nfs/homes/tischmid/.config/synth-shell/better-ls.sh :
# source /nfs/homes/tischmid/.config/synth-shell/better-ls.sh
fi fi
##----------------------------------------------------- ##-----------------------------------------------------