README: cb Alias dokumentiert (Clipboard-Bereinigung fuer Claude Code)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1733c57d43
commit
5ffa8712c4
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -54,6 +54,16 @@ Pullt alle Repositories (ueberspringt Repos mit lokalen Aenderungen).
|
||||||
gitupdate # alle Repos pullen
|
gitupdate # alle Repos pullen
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### cb - Clipboard bereinigen
|
||||||
|
|
||||||
|
Entfernt die 2 fuehrenden Leerzeichen pro Zeile aus der Zwischenablage, die Claude Code bei der Terminal-Ausgabe einfuegt. Nuetzlich beim Kopieren mehrzeiliger Befehle oder Codeblocks.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cb # Zwischenablage bereinigen, dann mit Cmd+V einfuegen
|
||||||
|
```
|
||||||
|
|
||||||
|
Verwendet `pbpaste`/`pbcopy` auf macOS und `xclip` auf Linux.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Automatisch (via macbook-setup)
|
### Automatisch (via macbook-setup)
|
||||||
|
|
@ -73,6 +83,8 @@ done
|
||||||
# Aliases in ~/.zshrc
|
# Aliases in ~/.zshrc
|
||||||
alias gitcheck="~/git-check-all.sh --short"
|
alias gitcheck="~/git-check-all.sh --short"
|
||||||
alias gitupdate="~/git-update-all.sh"
|
alias gitupdate="~/git-update-all.sh"
|
||||||
|
alias cb="pbpaste | sed 's/^ //' | pbcopy" # macOS
|
||||||
|
alias cb="xclip -selection clipboard -o | sed 's/^ //' | xclip -selection clipboard -i" # Linux
|
||||||
alias gitsync="~/git-sync-all.sh"
|
alias gitsync="~/git-sync-all.sh"
|
||||||
alias mac-sync="curl -fsSL https://git.motocamp.de/rene/dotfiles-rene/raw/branch/main/bin/git-sync-all.sh | bash"
|
alias mac-sync="curl -fsSL https://git.motocamp.de/rene/dotfiles-rene/raw/branch/main/bin/git-sync-all.sh | bash"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue