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
|
elif [[ "$TERM" == "xterm"* || "$TERM" == "screen"* || "$TERM" == "tmux"* ]]; then
|
||||||
# OSC 52 support
|
# OSC 52 support
|
||||||
function clipcopy() {
|
function clipcopy() {
|
||||||
local data
|
local content_tocopy
|
||||||
data=$(cat "${1:-/dev/stdin}" | base64 | tr -d '\n')
|
content_tocopy=$(cat "${1:-/dev/stdin}" | base64 | tr -d '\n')
|
||||||
printf "\033]52;c;%s\a" "$data" > /dev/tty
|
printf "\033]52;c;%s\a" "$data" > /dev/tty
|
||||||
}
|
}
|
||||||
function clippaste() {
|
function clippaste() {
|
||||||
|
|
Loading…
Reference in New Issue