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
|
||||
- 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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue