install asdf

This commit is contained in:
Pim Kunis 2022-11-26 17:58:49 +01:00
parent 9f3dca0a8d
commit 4a982c060c
2 changed files with 12 additions and 2 deletions

View file

@ -15,6 +15,7 @@
- keepassxc
- zsh
- ripgrep
- curl
- name: Set default shell to zsh
become: true
user:
@ -23,8 +24,12 @@
- name: Install .gitconfig
template:
src: "{{ role_path }}/templates/.gitconfig.j2"
dest: "/home/{{ ansible_user_id }}/.gitconfig"
dest: ~/.gitconfig
- name: Install asdf
git:
repo: https://github.com/asdf-vm/asdf.git
dest: ~/.asdf
- name: Install .zshrc
template:
src: "{{ role_path }}/templates/.zshrc.j2"
dest: "/home/{{ ansible_user_id }}/.zshrc"
dest: ~/.zshrc

View file

@ -46,3 +46,8 @@ alias gs='git status'
alias gb='git branch'
alias ga='git add'
alias gl='git log'
# asdf
. $HOME/.asdf/asdf.sh
fpath=(${ASDF_DIR}/completions $fpath)
autoload -Uz compinit && compinit