install asdf
This commit is contained in:
parent
9f3dca0a8d
commit
4a982c060c
2 changed files with 12 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
||||||
- keepassxc
|
- keepassxc
|
||||||
- zsh
|
- zsh
|
||||||
- ripgrep
|
- ripgrep
|
||||||
|
- curl
|
||||||
- name: Set default shell to zsh
|
- name: Set default shell to zsh
|
||||||
become: true
|
become: true
|
||||||
user:
|
user:
|
||||||
|
@ -23,8 +24,12 @@
|
||||||
- name: Install .gitconfig
|
- name: Install .gitconfig
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/.gitconfig.j2"
|
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
|
- name: Install .zshrc
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/.zshrc.j2"
|
src: "{{ role_path }}/templates/.zshrc.j2"
|
||||||
dest: "/home/{{ ansible_user_id }}/.zshrc"
|
dest: ~/.zshrc
|
||||||
|
|
|
@ -46,3 +46,8 @@ alias gs='git status'
|
||||||
alias gb='git branch'
|
alias gb='git branch'
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
alias gl='git log'
|
alias gl='git log'
|
||||||
|
|
||||||
|
# asdf
|
||||||
|
. $HOME/.asdf/asdf.sh
|
||||||
|
fpath=(${ASDF_DIR}/completions $fpath)
|
||||||
|
autoload -Uz compinit && compinit
|
||||||
|
|
Reference in a new issue