alias v='vim' alias ..='cd ..' alias ...='cd ../..' alias tmux='tmux -2' alias ft='cc -Wall -Wextra -Werror -o main -xc <(grep -v "////" *.c) && ./main; rm ./main 2>/dev/null; :' alias ft2='cc -Wall -Wextra -Werror -o main -xc <(grep -v "////" *.c) && ./main' 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'\'' &' jmp () { cd "$(find . -name "${1}" -print -quit)" if [ "${?}" = "0" ]; then cd "$(find .. -name "${1}" -print -quit)" fi } xset r rate 200 60 PATH="${PATH}:/nfs/homes/tischmid/.local/bin" ##----------------------------------------------------- ## synth-shell-greeter.sh if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ]; then : # source /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh fi ##----------------------------------------------------- ## synth-shell-prompt.sh if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ]; then : # source /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\]\w\[\033[m\]\n$ ' fi ##----------------------------------------------------- ## better-ls 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 fi ##----------------------------------------------------- ## alias if [ -f /nfs/homes/tischmid/.config/synth-shell/alias.sh ] && [ -n "$( echo $- | grep i )" ]; then source /nfs/homes/tischmid/.config/synth-shell/alias.sh fi ##----------------------------------------------------- ## better-history if [ -f /nfs/homes/tischmid/.config/synth-shell/better-history.sh ] && [ -n "$( echo $- | grep i )" ]; then source /nfs/homes/tischmid/.config/synth-shell/better-history.sh fi