Guest User

Untitled

a guest
Feb 17th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. ➜ ~ cat .zshrc | grep xclip
  2. alias c="xclip -selection c"
  3. alias -g v='"$(xclip -selection c -o)"'
  4. ➜ ~ v
  5. zsh: 没有那个文件或目录: file:///home/roach/Downloads/pure.png
  6. ➜ ~
  7.  
  8. ➜ ~ alias -g v='"$(xclip -selection c -o)|sed -e 's/file:////'"'
  9. ➜ ~ v
  10. zsh: 没有那个文件或目录: file:///home/roach/Downloads/pure.png|sed -e s/file:////
  11. ➜ ~
Add Comment
Please, Sign In to add comment