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:
parent
14cad4e78b
commit
7823dc6b48
4
roles/fish/files/functions/vi.fish
Normal file
4
roles/fish/files/functions/vi.fish
Normal file
@ -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'"
|
||||
|
12
roles/userbin/tasks/main.yml
Normal file
12
roles/userbin/tasks/main.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user