Dotfiles V1.3.4

- nvim
  - fixed typo in snippets
- .zshrc
  - optimized AI Prompts
This commit is contained in:
2026-01-05 10:45:44 +01:00
parent 1f84b680c3
commit 54588a7ea5
3 changed files with 44 additions and 22 deletions

View File

@@ -49,22 +49,25 @@ local disclaimeren = s(
[[
## DISCLAIMER
These {} were compiled based on the lecture {} by {}.
{} compiled based on the lecture {} by {}.
I accept no liability for any potential errors within these notes. Please be aware that these materials were processed with the assistance of NotebookLM. While AI is a powerful tool, it may produce technical inaccuracies or "hallucinations". Furthermore, I have paraphrased sections and added personal observations, which may introduce further errors.
I accept no liability for any potential errors within {}. Please be aware that {} processed with the assistance of NotebookLM. While AI is a powerful tool, it may produce technical inaccuracies or "hallucinations". Furthermore, I have paraphrased sections and added personal observations, which may introduce further errors.
**Copyright & Content Note:** This is an unofficial resource and is not affiliated with or endorsed by ETH Zurich. As these notes were generated with the assistance of AI, I cannot guarantee that all content has been sufficiently paraphrased. Some sections may closely mirror or directly quote the original presentation slides or scripts. All intellectual property rights for the original course content remain with the respective authors at ETH Zurich.
**Copyright & Content Note:** This is an unofficial resource and is not affiliated with or endorsed by ETH Zurich. As {} generated with the assistance of AI, I cannot guarantee that all content has been sufficiently paraphrased. Some sections may closely mirror or directly quote the original presentation slides or scripts. All intellectual property rights for the original course content remain with the respective authors at ETH Zurich.
**Notice to Rights Holders:** This document is shared for educational purposes. If you are a rights holder and object to the inclusion of any content, please contact me, and I will remove it immediately.
Unless stated otherwise, all graphics were generated personally.
Errors or copyright concerns can be reported via email to jirruh@ethz.ch. {}
Errors or copyright concerns can be reported via email to (jirruh@ethz.ch)[mailto:jirruh@ethz.ch]. {}
]],
{
c(1, { t("notes"), t("notes and this summary") }),
c(1, { t("These notes were"), t("These notes and this summary were"), t("This summary was") }),
i(2, "Name of Lecture"),
i(3, "Name of Professor"),
c(4, { t("these notes"), t("these notes and this summary"), t("this summary") }),
c(5, { t("these notes were"), t("these notes and this summary were"), t("this summary was") }),
rep(4),
i(0),
}
)
@@ -77,22 +80,30 @@ local disclaimerde = s(
[[
## DISCLAIMER
Diese {} basiert auf der Vorlesung {} von {}.
Diese {} auf der Vorlesung {} von {}.
Ich übernehme keine Haftung für mögliche Fehler in diesen Unterlagen. Bitte beachten Sie, dass diese Materialien unter Zuhilfenahme von NotebookLM erstellt wurden. Obwohl KI ein leistungsstarkes Werkzeug ist, kann sie technische Ungenauigkeiten oder sogenannte „Halluzinationen“ erzeugen. Darüber hinaus habe ich Abschnitte paraphrasiert und eigene Beobachtungen hinzugefügt, was weitere Fehlerquellen darstellen kann.
Ich übernehme keine Haftung für mögliche Fehler in {}. Bitte beachten Sie, dass diese {} unter Zuhilfenahme von NotebookLM erstellt {}. Obwohl KI ein leistungsstarkes Werkzeug ist, kann sie technische Ungenauigkeiten oder sogenannte „Halluzinationen“ erzeugen. Darüber hinaus habe ich Abschnitte paraphrasiert und eigene Beobachtungen hinzugefügt, was weitere Fehlerquellen darstellen kann.
**Urheberrecht & Inhaltlicher Hinweis:** Dies ist eine inoffizielle Ressource; sie steht in keiner Verbindung zur ETH Zürich und wird von dieser nicht unterstützt. Da diese Notizen mit Hilfe von KI erstellt wurden, kann ich nicht garantieren, dass alle Inhalte ausreichend umformuliert wurden. Einige Abschnitte können den ursprünglichen Präsentationsfolien oder Skripten stark ähneln oder diese direkt zitieren. Alle geistigen Eigentumsrechte am ursprünglichen Kursinhalt verbleiben bei den jeweiligen Autoren der ETH Zürich.
**Urheberrecht & Inhaltlicher Hinweis:** Dies ist eine inoffizielle Ressource; sie steht in keiner Verbindung zur ETH Zürich und wird von dieser nicht unterstützt. Da diese {} mit Hilfe von KI erstellt {}, kann ich nicht garantieren, dass alle Inhalte ausreichend umformuliert wurden. Einige Abschnitte können den ursprünglichen Präsentationsfolien oder Skripten stark ähneln oder diese direkt zitieren. Alle geistigen Eigentumsrechte am ursprünglichen Kursinhalt verbleiben bei den jeweiligen Autoren der ETH Zürich.
**Hinweis für Rechteinhaber:** Dieses Dokument wird ausschließlich zu Bildungszwecken geteilt. Wenn Sie Rechteinhaber sind und der Aufnahme bestimmter Inhalte widersprechen, kontaktieren Sie mich bitte, und ich werde diese umgehend entfernen.
Sofern nicht anders angegeben, wurden alle Grafiken persönlich erstellt.
Fehler oder Urheberrechtsbedenken können per E-Mail an jirruh@ethz.ch gemeldet werden. {}
Fehler oder Urheberrechtsbedenken können per E-Mail an (jirruh@ethz.ch)[mailto:jirruh@ethz.ch] gemeldet werden. {}
]],
{
c(1, { t("Notizen"), t("Notizen und diese Zusammenfassung") }),
c(
1,
{ t("Notizen basieren"), t("Notizen und diese Zusammenfassung basieren"), t("Zusammenfassung basiert") }
),
i(2, "Name of Lecture"),
i(3, "Name of Professor"),
c(4, { t("diesen Notizen"), t("diesen Notizen und dieser Zusammenfassung"), t("dieser Zusammenfassung") }),
rep(1),
c(5, { t("wurde"), t("wurden") }),
rep(1),
rep(5),
i(0),
}
)

View File

@@ -27,13 +27,13 @@ local disclaimeren = s(
[[
\section*{{DISCLAIMER}}
These {} were compiled based on the lecture {} by {}.
{} compiled based on the lecture {} by {}.
\\
\\
I accept no liability for any potential errors within these notes. Please be aware that these materials were processed with the assistance of NotebookLM. While AI is a powerful tool, it may produce technical inaccuracies or "hallucinations". Furthermore, I have paraphrased sections and added personal observations, which may introduce further errors.
I accept no liability for any potential errors within {}. Please be aware that {} processed with the assistance of NotebookLM. While AI is a powerful tool, it may produce technical inaccuracies or "hallucinations". Furthermore, I have paraphrased sections and added personal observations, which may introduce further errors.
\\
\\
\textbf{{Copyright \& Content Note:}} This is an unofficial resource and is not affiliated with or endorsed by ETH Zurich. As these notes were generated with the assistance of AI, I cannot guarantee that all content has been sufficiently paraphrased. Some sections may closely mirror or directly quote the original presentation slides or scripts. All intellectual property rights for the original course content remain with the respective authors at ETH Zurich.
\textbf{{Copyright \& Content Note:}} This is an unofficial resource and is not affiliated with or endorsed by ETH Zurich. As {} generated with the assistance of AI, I cannot guarantee that all content has been sufficiently paraphrased. Some sections may closely mirror or directly quote the original presentation slides or scripts. All intellectual property rights for the original course content remain with the respective authors at ETH Zurich.
\\
\\
\textbf{{Notice to Rights Holders:}} This document is shared for educational purposes. If you are a rights holder and object to the inclusion of any content, please contact me, and I will remove it immediately.
@@ -45,9 +45,12 @@ local disclaimeren = s(
Errors or copyright concerns can be reported via email to \href{{mailto:jirruh@ethz.ch}}{{jirruh@ethz.ch}}. {}
]],
{
c(1, { t("notes"), t("notes and this summary") }),
c(1, { t("These notes were"), t("These notes and this summary were"), t("This summary was") }),
i(2, "Name of Lecture"),
i(3, "Name of Professor"),
c(4, { t("these notes were"), t("these notes and this summary were"), t("this summary was") }),
rep(4),
rep(4),
i(0),
}
)
@@ -63,10 +66,10 @@ local disclaimerde = s(
Diese {} basiert auf der Vorlesung {} von {}.
\\
\\
Ich übernehme keine Haftung für mögliche Fehler in diesen Unterlagen. Bitte beachten Sie, dass diese Materialien unter Zuhilfenahme von NotebookLM erstellt wurden. Obwohl KI ein leistungsstarkes Werkzeug ist, kann sie technische Ungenauigkeiten oder sogenannte „Halluzinationen“ erzeugen. Darüber hinaus habe ich Abschnitte paraphrasiert und eigene Beobachtungen hinzugefügt, was weitere Fehlerquellen darstellen kann.
Ich übernehme keine Haftung für mögliche Fehler in {}. Bitte beachten Sie, dass diese {} unter Zuhilfenahme von NotebookLM erstellt {}. Obwohl KI ein leistungsstarkes Werkzeug ist, kann sie technische Ungenauigkeiten oder sogenannte „Halluzinationen“ erzeugen. Darüber hinaus habe ich Abschnitte paraphrasiert und eigene Beobachtungen hinzugefügt, was weitere Fehlerquellen darstellen kann.
\\
\\
\textbf{{Urheberrecht & Inhaltlicher Hinweis:}} Dies ist eine inoffizielle Ressource; sie steht in keiner Verbindung zur ETH Zürich und wird von dieser nicht unterstützt. Da diese Notizen mit Hilfe von KI erstellt wurden, kann ich nicht garantieren, dass alle Inhalte ausreichend umformuliert wurden. Einige Abschnitte können den ursprünglichen Präsentationsfolien oder Skripten stark ähneln oder diese direkt zitieren. Alle geistigen Eigentumsrechte am ursprünglichen Kursinhalt verbleiben bei den jeweiligen Autoren der ETH Zürich.
\textbf{{Urheberrecht \& Inhaltlicher Hinweis:}} Dies ist eine inoffizielle Ressource; sie steht in keiner Verbindung zur ETH Zürich und wird von dieser nicht unterstützt. Da diese {} mit Hilfe von KI erstellt {}, kann ich nicht garantieren, dass alle Inhalte ausreichend umformuliert wurden. Einige Abschnitte können den ursprünglichen Präsentationsfolien oder Skripten stark ähneln oder diese direkt zitieren. Alle geistigen Eigentumsrechte am ursprünglichen Kursinhalt verbleiben bei den jeweiligen Autoren der ETH Zürich.
\\
\\
\textbf{{Hinweis für Rechteinhaber:}} Dieses Dokument wird ausschließlich zu Bildungszwecken geteilt. Wenn Sie Rechteinhaber sind und der Aufnahme bestimmter Inhalte widersprechen, kontaktieren Sie mich bitte, und ich werde diese umgehend entfernen.
@@ -78,9 +81,17 @@ local disclaimerde = s(
Fehler oder Urheberrechtsbedenken können per E-Mail an \href{{mailto:jirruh@ethz.ch}}{{jirruh@ethz.ch}} gemeldet werden. {}
]],
{
c(1, { t("Notizen"), t("Notizen und diese Zusammenfassung") }),
c(
1,
{ t("Notizen basieren"), t("Notizen und diese Zusammenfassung basieren"), t("Zusammenfassung basiert") }
),
i(2, "Name of Lecture"),
i(3, "Name of Professor"),
c(4, { t("diesen Notizen"), t("diesen Notizen und dieser Zusammenfassung"), t("dieser Zusammenfassung") }),
rep(1),
c(5, { t("wurde"), t("wurden") }),
rep(1),
rep(5),
i(0),
}
)

10
.zshrc
View File

@@ -127,27 +127,27 @@ alias Layout="cp ~/Nextcloud/Layouts/Layout/layout.tex ."
###########
function PromptAna {
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the Script of my Professor. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions in separate subsections. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the Script of my Professor. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions, concepts and remarks in separate codeblocks of the following format: Defintion: \dfn{Title}{Definition}, concept: \thm{title}{Theorem}, remark: \nt{remark}. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
echo "$prompt_text" | pbcopy
}
function PromptISFE {
local prompt_text="Write a short summary of the Presentation to the [] supplementing the summary with content from [] from the 'Database Systems: The complete Book' Book. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions in separate subsections. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
local prompt_text="Write a short summary of the Presentation to the [] supplementing the summary with content from [] from the 'Database Systems: The complete Book' Book. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions, concepts and remarks in separate codeblocks of the following format: Defintion: \dfn{Title}{Definition}, concept: \thm{title}{Theorem}, remark: \nt{remark}. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
echo "$prompt_text" | pbcopy
}
function PromptMED {
local prompt_text="Write a short summary of the Presentation to the []. The Summary should be 4-5 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Please use LaTeX to write this summary and do not use any numbers to indicate where you got the information from. Put important definitions in separate subsections Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
local prompt_text="Write a short summary of the Presentation to the []. The Summary should be 4-5 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions, concepts and remarks in separate codeblocks of the following format: Defintion: \dfn{Title}{Definition}, concept: \thm{title}{Theorem}, remark: \nt{remark}. Please use LaTeX to write this summary and do not use any numbers to indicate where you got the information from. Put important definitions in separate subsections Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
echo "$prompt_text" | pbcopy
}
function PromptMikro {
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the 'Grundzüge der Mirkoökonomik' Book. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions in separate subsections. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the 'Grundzüge der Mirkoökonomik' Book. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions, concepts and remarks in separate codeblocks of the following format: Defintion: \dfn{Title}{Definition}, concept: \thm{title}{Theorem}, remark: \nt{remark}. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
echo "$prompt_text" | pbcopy
}
function PromptSR {
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the [] Script. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions in separate subsections. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation or the script. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
local prompt_text="Write a short summary in German of the Presentation to the [] supplementing the summary with content from [] from the [] Script. The Summary should be 3-4 Pages of length beginning with a short overview of the chapter followed up with the relevant information. Put important definitions, concepts and remarks in separate codeblocks of the following format: Defintion: \dfn{Title}{Definition}, concept: \thm{title}{Theorem}, remark: \nt{remark}. Please use LaTeX to write this summary and output your answer in a codeblock. Do not use any numbers to indicate where you got the information from and do not citate anything from the presentation or the script. Please rewrite the sentences from the presentation. I will input this chapter to the main file so leave out the preamble as well as the begin document section. In addition, please use normal sections i.e. \\section{...} and not \\section*{...} and do not numberate the section titles."
echo "$prompt_text" | pbcopy
}