mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
xclip alias
This commit is contained in:
parent
27754f80c9
commit
3e423d0939
1 changed files with 4 additions and 0 deletions
|
|
@ -140,3 +140,7 @@ function apt-list-packages {
|
||||||
sort -n | \
|
sort -n | \
|
||||||
awk '{print $1" "$2}'
|
awk '{print $1" "$2}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Copy output to clipboard (requires xclip)
|
||||||
|
# Usage: ls | clip
|
||||||
|
alias clip='xclip -sel clip'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue