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
|
||||
- strawberry
|
||||
- fuzzy find
|
||||
- autostart syncthing
|
||||
- keepass config
|
||||
- thunderbird config
|
||||
- some kind of tag setup with: bootstrap, update etc
|
||||
|
||||
Would like Ansible Vault to check in keypair for syncthing.
|
||||
However, then I would need a password to unlock the vault.
|
||||
|
|
|
@ -8,3 +8,4 @@
|
|||
- signal
|
||||
- virtualbox
|
||||
- vscodium
|
||||
- syncthing
|
||||
|
|
|
@ -1,38 +1,10 @@
|
|||
- name: Install prerequisite APT packages
|
||||
# https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisites
|
||||
- name: Install Neovim PPA
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: ppa:neovim-ppa/unstable
|
||||
state: present
|
||||
- name: Install Neovim
|
||||
become: true
|
||||
apt:
|
||||
state: latest
|
||||
update_cache: yes
|
||||
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
|
||||
name: neovim
|
||||
state: present
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
email = {{ email }}
|
||||
name = {{ full_name }}
|
||||
[core]
|
||||
editor = /usr/local/bin/nvim
|
||||
editor = /usr/bin/nvim
|
||||
|
|
|
@ -49,8 +49,6 @@ alias gl='git log'
|
|||
|
||||
# asdf
|
||||
. $HOME/.asdf/asdf.sh
|
||||
fpath=(${ASDF_DIR}/completions $fpath)
|
||||
autoload -Uz compinit && compinit
|
||||
|
||||
# For neovim
|
||||
PATH=$PATH:/usr/local
|
|
@ -12,6 +12,6 @@
|
|||
name: "{{ ansible_user_id }}"
|
||||
shell: /usr/bin/zsh
|
||||
- name: Install .zshrc
|
||||
template:
|
||||
src: "{{ role_path }}/templates/.zshrc.j2"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/.zshrc"
|
||||
dest: ~/.zshrc
|
||||
|
|
Reference in a new issue