This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module -Name Terminal-Icons | |
Import-Module posh-git | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
oh-my-posh --init --shell pwsh --config C:\Users\Eric\AppData\Local\Programs\oh-my-posh\themes\eric_OhMyPosh.json | Invoke-Expression | |
# Um die History zu bearbeiten und anzuschauen folgender Befehl: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "battery", | |
"style": "powerline", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test -f /etc/profile.d/git-sdk.sh | |
then | |
TITLEPREFIX=SDK-${MSYSTEM#MINGW} | |
else | |
TITLEPREFIX=$MSYSTEM | |
fi | |
if test -f ~/.config/git/git-prompt.sh | |
then | |
. ~/.config/git/git-prompt.sh |
man [command] → zeigt Manual-Page für Befehl
ls -la → list storage (l = lang, a = auch versteckte Dateien/Verzeichnisse)
file [filename] → zeigt Ifos zum Dateiformat einer Datei
locate [filename] → durchsucht lokale Datenbank nach Dateinamen (bzw. Teilen des Namens)
sudo updatedb → update der lokalen DB (wird im normalfall ein Mal am Tag aktualisiert)
history → zeigt letzte abgesetzte Commands
apropos [suchbefehl] → durchsucht Commands + Kurzbeschreibung der Manpages
cat [filename] → zeigt Inhalt der Datei
cat >> [filename] → neue Datei die gleich beschrieben werden kann (Strg+d zum speichern)
cat > [filename] → überschreibt vorhandene Datei (leert diese aber vorher)\