DEV Community

Discussion on: Lazy habits in linux terminal

Collapse
 
ioayman profile image
Ayman Nedjmeddine

Sometimes I need to just type something into the clipboard (sometimes to avoid memorizing it!), so this one comes handy for me often

alias writeinclipboard='[[ -x `which xclip 2>/dev/null` ]] && cat << EOF | xclip -selection clipboard '