Compare commits

..

3 commits

Author SHA1 Message Date
286068e2dc Removed pyenv 2025-01-10 14:27:25 +01:00
89b0bc552c Added support for Ubuntu 2025-01-10 14:22:59 +01:00
6ee15eadc6 Using uv instead of pipx 2025-01-10 14:22:30 +01:00
2 changed files with 18 additions and 8 deletions

View file

@ -13,7 +13,6 @@ if status is-interactive
fish_add_path -a /usr/local/opt/node@18/bin
end
pyenv init - fish | source
fzf --fish | source
# keeping this in the end
zoxide init fish | source

View file

@ -12,19 +12,20 @@
- git
- difftastic
- tldr
- pyenv
- uv
brew_packages:
- pipx
pacman_packages:
- python-pipx
pipx_packages:
uv_packages:
- aider-chat
- asciinema
- poetry
- basedpyright
- pre-commit
- posting
- ipython
macos_fish_path: /usr/local/bin/fish
arch_fish_path: /usr/bin/fish
@ -34,6 +35,7 @@
ansible.builtin.set_fact:
is_macos: "{{ ansible_facts['os_family'] == 'Darwin' }}"
is_arch: "{{ ansible_facts['os_family'] == 'Archlinux' }}"
is_ubuntu: "{{ ansible_facts['os_family'] == 'Debian' }}"
- name: Get full packages list (macOS)
ansible.builtin.set_fact:
@ -58,9 +60,18 @@
become: true
when: is_arch
- name: Install pipx packages
ansible.builtin.command: "pipx install {{ item }}"
loop: "{{ pipx_packages }}"
- name: Install packages (Ubuntu)
when: is_ubuntu
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
become: true