mirror of https://github.com/ohmyzsh/ohmyzsh.git
fix(typo): make the name of local varialbe more readable
This commit is contained in:
parent
44f7c5798e
commit
32b4d285c3
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue