Compare commits
1 Commits
osc-52-pas
...
a422ab1125
| Author | SHA1 | Date | |
|---|---|---|---|
| a422ab1125 |
10
tasks.yaml
10
tasks.yaml
@@ -10,9 +10,17 @@
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
- zsh-doc
|
||||
- pinentry-curses
|
||||
- silversearcher-ag
|
||||
- unzip
|
||||
- zsh-doc
|
||||
state: present
|
||||
|
||||
- name: zsh install macOS packages
|
||||
when: ansible_os_family == "Darwin"
|
||||
become: false
|
||||
homebrew:
|
||||
name: the_silver_searcher
|
||||
state: present
|
||||
|
||||
- name: zsh clone plugin repos
|
||||
|
||||
@@ -16,10 +16,7 @@ fi
|
||||
|
||||
# Abstract different ways to paste from the clipboard.
|
||||
# TODO: Use OSC-52 to get the clipboard, not widely supported though
|
||||
if [ -n "$SSH_CONNECTION" ]; then
|
||||
# Use OSC-52 to get the clipboard
|
||||
alias paste='printf "\033]52;c;?\a"'
|
||||
elif [ "`uname`" = "Darwin" ]; then
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
# Use pbpaste to get the clipboard
|
||||
alias paste='pbpaste'
|
||||
elif which xclip &> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user