mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
28 lines
597 B
YAML
28 lines
597 B
YAML
- name: Install nnn dependencies
|
|
dnf:
|
|
name:
|
|
- readline-devel
|
|
state: present
|
|
become: true
|
|
|
|
- name: Clone nnn repo
|
|
ansible.builtin.git:
|
|
repo: https://github.com/jarun/nnn.git
|
|
dest: /home/{{ user }}/tmp/nnn
|
|
|
|
- name: Compile nnn
|
|
shell: |
|
|
make O_NERD=1
|
|
args:
|
|
chdir: /home/{{ user }}/tmp/nnn
|
|
|
|
- name: Move nnn to .local bin
|
|
copy:
|
|
src: /home/{{ user }}/tmp/nnn/nnn
|
|
dest: /home/{{ user }}/.local/bin/nnn
|
|
mode: a+x
|
|
|
|
- name: Download nnn plugins
|
|
shell: |
|
|
sh -c "$(curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs)"
|