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