1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

added userbin dir, up bin, and vi alias to fish

This commit is contained in:
eoli3n 2019-12-01 17:43:33 +01:00
parent 14cad4e78b
commit 7823dc6b48
3 changed files with 21 additions and 0 deletions

@ -0,0 +1,4 @@
# Defined in - @ line 1
function vi --description 'alias vi=nvim'
nvim $argv;
end

@ -45,5 +45,10 @@
backup: yes
when: "'laptop' in {{ group_names }}"
- name: copy aliases
synchronize:
src: files/functions/
dest: ~/.config/fish/
- debug:
msg: "Do not forget to 'chsh /usr/bin/fish'"

@ -0,0 +1,12 @@
---
- name: create home/bin dir
file:
path: ~/bin
state: directory
- name: install ix.io up in in home/bin
shell: |
curl ix.io/client > ~/bin/up
chmod +x ~/bin/up
args:
creates: ~/bin/up