install neovim from PPA
fix zsh startup by removing asdf scripts
This commit is contained in:
parent
a9143e842d
commit
d2ea5d5771
6 changed files with 14 additions and 42 deletions
|
@ -13,8 +13,9 @@
|
||||||
- Cool neovim setup
|
- Cool neovim setup
|
||||||
- strawberry
|
- strawberry
|
||||||
- fuzzy find
|
- fuzzy find
|
||||||
- autostart syncthing
|
|
||||||
- keepass config
|
- keepass config
|
||||||
|
- thunderbird config
|
||||||
|
- some kind of tag setup with: bootstrap, update etc
|
||||||
|
|
||||||
Would like Ansible Vault to check in keypair for syncthing.
|
Would like Ansible Vault to check in keypair for syncthing.
|
||||||
However, then I would need a password to unlock the vault.
|
However, then I would need a password to unlock the vault.
|
||||||
|
|
|
@ -8,3 +8,4 @@
|
||||||
- signal
|
- signal
|
||||||
- virtualbox
|
- virtualbox
|
||||||
- vscodium
|
- vscodium
|
||||||
|
- syncthing
|
||||||
|
|
|
@ -1,38 +1,10 @@
|
||||||
- name: Install prerequisite APT packages
|
- name: Install Neovim PPA
|
||||||
# https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisites
|
become: true
|
||||||
|
apt_repository:
|
||||||
|
repo: ppa:neovim-ppa/unstable
|
||||||
|
state: present
|
||||||
|
- name: Install Neovim
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
state: latest
|
name: neovim
|
||||||
update_cache: yes
|
state: present
|
||||||
cache_valid_time: 86400 # One day
|
|
||||||
pkg:
|
|
||||||
- ninja-build
|
|
||||||
- gettext
|
|
||||||
- libtool
|
|
||||||
- libtool-bin
|
|
||||||
- autoconf
|
|
||||||
- automake
|
|
||||||
- cmake
|
|
||||||
- g++
|
|
||||||
- pkg-config
|
|
||||||
- unzip
|
|
||||||
- curl
|
|
||||||
- doxygen
|
|
||||||
- name: Pull neovim repository
|
|
||||||
become: true
|
|
||||||
git:
|
|
||||||
repo: https://github.com/neovim/neovim.git
|
|
||||||
dest: ~/neovim
|
|
||||||
- name: Build neovim
|
|
||||||
become: true
|
|
||||||
make:
|
|
||||||
chdir: ~/neovim
|
|
||||||
params:
|
|
||||||
CMAKE_BUILD_TYPE: RelWithDebInfo
|
|
||||||
changed_when: false # I lie a bit, but neovim makefile doesn't cooperate
|
|
||||||
- name: Install neovim
|
|
||||||
become: true
|
|
||||||
make:
|
|
||||||
chdir: ~/neovim
|
|
||||||
target: install
|
|
||||||
changed_when: false # Idem
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
email = {{ email }}
|
email = {{ email }}
|
||||||
name = {{ full_name }}
|
name = {{ full_name }}
|
||||||
[core]
|
[core]
|
||||||
editor = /usr/local/bin/nvim
|
editor = /usr/bin/nvim
|
||||||
|
|
|
@ -49,8 +49,6 @@ alias gl='git log'
|
||||||
|
|
||||||
# asdf
|
# asdf
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
fpath=(${ASDF_DIR}/completions $fpath)
|
|
||||||
autoload -Uz compinit && compinit
|
|
||||||
|
|
||||||
# For neovim
|
# For neovim
|
||||||
PATH=$PATH:/usr/local
|
PATH=$PATH:/usr/local
|
|
@ -12,6 +12,6 @@
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
shell: /usr/bin/zsh
|
shell: /usr/bin/zsh
|
||||||
- name: Install .zshrc
|
- name: Install .zshrc
|
||||||
template:
|
copy:
|
||||||
src: "{{ role_path }}/templates/.zshrc.j2"
|
src: "{{ role_path }}/files/.zshrc"
|
||||||
dest: ~/.zshrc
|
dest: ~/.zshrc
|
||||||
|
|
Reference in a new issue