Compare commits
3 commits
3d0997e129
...
286068e2dc
Author | SHA1 | Date | |
---|---|---|---|
286068e2dc | |||
89b0bc552c | |||
6ee15eadc6 |
2 changed files with 18 additions and 8 deletions
|
@ -13,7 +13,6 @@ if status is-interactive
|
||||||
fish_add_path -a /usr/local/opt/node@18/bin
|
fish_add_path -a /usr/local/opt/node@18/bin
|
||||||
end
|
end
|
||||||
|
|
||||||
pyenv init - fish | source
|
|
||||||
fzf --fish | source
|
fzf --fish | source
|
||||||
# keeping this in the end
|
# keeping this in the end
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
|
@ -12,19 +12,20 @@
|
||||||
- git
|
- git
|
||||||
- difftastic
|
- difftastic
|
||||||
- tldr
|
- tldr
|
||||||
- pyenv
|
- uv
|
||||||
|
|
||||||
brew_packages:
|
brew_packages:
|
||||||
- pipx
|
|
||||||
|
|
||||||
pacman_packages:
|
pacman_packages:
|
||||||
- python-pipx
|
|
||||||
|
|
||||||
pipx_packages:
|
uv_packages:
|
||||||
|
- aider-chat
|
||||||
|
- asciinema
|
||||||
- poetry
|
- poetry
|
||||||
- basedpyright
|
- basedpyright
|
||||||
- pre-commit
|
- pre-commit
|
||||||
- posting
|
- posting
|
||||||
|
- ipython
|
||||||
|
|
||||||
macos_fish_path: /usr/local/bin/fish
|
macos_fish_path: /usr/local/bin/fish
|
||||||
arch_fish_path: /usr/bin/fish
|
arch_fish_path: /usr/bin/fish
|
||||||
|
@ -34,6 +35,7 @@
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
is_macos: "{{ ansible_facts['os_family'] == 'Darwin' }}"
|
is_macos: "{{ ansible_facts['os_family'] == 'Darwin' }}"
|
||||||
is_arch: "{{ ansible_facts['os_family'] == 'Archlinux' }}"
|
is_arch: "{{ ansible_facts['os_family'] == 'Archlinux' }}"
|
||||||
|
is_ubuntu: "{{ ansible_facts['os_family'] == 'Debian' }}"
|
||||||
|
|
||||||
- name: Get full packages list (macOS)
|
- name: Get full packages list (macOS)
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
@ -58,9 +60,18 @@
|
||||||
become: true
|
become: true
|
||||||
when: is_arch
|
when: is_arch
|
||||||
|
|
||||||
- name: Install pipx packages
|
- name: Install packages (Ubuntu)
|
||||||
ansible.builtin.command: "pipx install {{ item }}"
|
when: is_ubuntu
|
||||||
loop: "{{ pipx_packages }}"
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg: common_packages
|
||||||
|
cache_valid_time: 3600
|
||||||
|
|
||||||
|
- name: Install uv packages
|
||||||
|
ansible.builtin.command: "pipx tool install {{ item }}"
|
||||||
|
loop: "{{ uv_packages }}"
|
||||||
|
tags:
|
||||||
|
- dev_tools
|
||||||
|
|
||||||
- name: Set fish as default shell
|
- name: Set fish as default shell
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue