mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-24 08:15:26 +00:00
Sagi Dayan
b44dfac7e0
- If `man_path` is defiled will add man page to system - If `autocomplete_path` is defined will add autocomplete source
80 lines
2 KiB
YAML
80 lines
2 KiB
YAML
---
|
|
- name: Installing bat (cat like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: bat
|
|
repo: sharkdp/bat
|
|
bin_path: "/bat-*/bat"
|
|
man_path: "/bat-*/bat.1"
|
|
autocomplete_path: "/bat-*/autocomplete/bat.bash"
|
|
filter: x86_64-unknown-linux-gnu
|
|
|
|
- name: verify Bat (better Cat) theme
|
|
changed_when: false
|
|
ansible.builtin.lineinfile:
|
|
path: "~/.shellconfig/common.sh"
|
|
regexp: "^export BAT_THEME="
|
|
line: 'export BAT_THEME="${{theme}}"'
|
|
|
|
- name: Instaling TLDR (pip3)
|
|
shell: pip3 install tldr
|
|
|
|
- name: Installing bottom (btm) (Top like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: btm
|
|
repo: ClementTsang/bottom
|
|
bin_path: "/btm"
|
|
autocomplete_path: "/completion/btm.bash"
|
|
filter: bottom_x86_64-unknown-linux-gnu.tar.gz
|
|
|
|
- name: Installing gitui
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: gitui
|
|
repo: extrawurst/gitui
|
|
bin_path: "/gitui"
|
|
filter: gitui-linux-musl
|
|
|
|
- name: Verifying gitui config
|
|
file:
|
|
path: ~/.config/gitui
|
|
state: directory
|
|
|
|
- name: Copy gitui keybindings
|
|
copy:
|
|
src: dotfiles/gitui/key_config.ron
|
|
dest: ~/.config/gitui/key_config.ron
|
|
force: yes
|
|
|
|
- name: Copy gitui theme config
|
|
copy:
|
|
src: dotfiles/gitui/theme.ron
|
|
dest: ~/.config/gitui/theme.ron
|
|
force: yes
|
|
|
|
- name: Installing LSD (ls like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: lsd
|
|
repo: Peltoche/lsd
|
|
bin_path: "/lsd-*/lsd"
|
|
man_path: "/lsd-*/lsd.1"
|
|
autocomplete_path: "/lsd-*/autocomplete/lsd.bash-completion"
|
|
filter: x86_64-unknown-linux-gnu.tar.gz
|
|
|
|
- name: Installing ripgrep (grep like)
|
|
ansible.builtin.include_role:
|
|
name: gh_release_bin
|
|
vars:
|
|
name: rg
|
|
repo: BurntSushi/ripgrep
|
|
bin_path: "/ripgrep-*/rg"
|
|
man_path: "/ripgrep-*/doc/rg.1"
|
|
autocomplete_path: "/ripgrep-*/complete/rg.bash"
|
|
filter: x86_64-unknown-linux-musl.tar.gz
|
|
|