mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
Fix coding styles for ./lib/*
This commit is contained in:
parent
078cd4ae2b
commit
df136ebb99
9 changed files with 85 additions and 77 deletions
|
|
@ -18,6 +18,7 @@
|
|||
function clipcopy() {
|
||||
emulate -L zsh
|
||||
local file=$1
|
||||
|
||||
if [[ $OSTYPE == darwin* ]]; then
|
||||
if [[ -z $file ]]; then
|
||||
pbcopy
|
||||
|
|
@ -39,7 +40,7 @@ function clipcopy() {
|
|||
fi
|
||||
elif which xsel &>/dev/null; then
|
||||
if [[ -z $file ]]; then
|
||||
xsel --clipboard --input
|
||||
xsel --clipboard --input
|
||||
else
|
||||
cat "$file" | xsel --clipboard --input
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue