README: cb Alias dokumentiert (Clipboard-Bereinigung fuer Claude Code)
This commit is contained in:
parent
94827145c6
commit
cb059ad7c4
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
|
||||
```
|
||||
|
||||
### 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
|
||||
|
||||
### Automatisch (via macbook-setup)
|
||||
|
|
@ -73,6 +83,8 @@ done
|
|||
# Aliases in ~/.zshrc
|
||||
alias gitcheck="~/git-check-all.sh --short"
|
||||
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 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