Compare commits
1 Commits
osc-52-pas
...
5a8ebeecaa
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a8ebeecaa |
10
tasks.yaml
10
tasks.yaml
@@ -10,9 +10,17 @@
|
|||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- zsh-doc
|
|
||||||
- pinentry-curses
|
- pinentry-curses
|
||||||
|
- silversearcher-ag
|
||||||
- unzip
|
- unzip
|
||||||
|
- zsh-doc
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: zsh install macOS packages
|
||||||
|
when: ansible_os_family == "Darwin"
|
||||||
|
become: false
|
||||||
|
brew:
|
||||||
|
name: the_silver_searcher
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: zsh clone plugin repos
|
- name: zsh clone plugin repos
|
||||||
|
|||||||
@@ -16,10 +16,7 @@ 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 [ -n "$SSH_CONNECTION" ]; then
|
if [ "`uname`" = "Darwin" ]; 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