fix(typo): make the name of local varialbe more readable

This commit is contained in:
zwyyy456 2024-12-29 17:07:13 +08:00
parent 44f7c5798e
commit 32b4d285c3
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ function detect-clipboard() {
elif [[ "$TERM" == "xterm"* || "$TERM" == "screen"* || "$TERM" == "tmux"* ]]; then
# OSC 52 support
function clipcopy() {
local data
data=$(cat "${1:-/dev/stdin}" | base64 | tr -d '\n')
local content_tocopy
content_tocopy=$(cat "${1:-/dev/stdin}" | base64 | tr -d '\n')
printf "\033]52;c;%s\a" "$data" > /dev/tty
}
function clippaste() {