From 4e7a80e7f50204b553a52ffab9f766afb10811a4 Mon Sep 17 00:00:00 2001 From: DMcP89 Date: Mon, 25 Mar 2024 23:32:15 -0400 Subject: [PATCH] updating dotfiles --- .bash_aliases | 2 +- .vimrc | 7 +++++++ ansible-playbooks/apt-packages.yml | 3 ++- ansible-playbooks/upgrade-packages.yml | 11 +++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 ansible-playbooks/upgrade-packages.yml diff --git a/.bash_aliases b/.bash_aliases index 521e603..f820ce2 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,7 +1,7 @@ # Shortcuts alias ve='source .venv/bin/activate' alias g='git' -alias gh='history|grep' +alias hg='history|grep' alias cpv='rsync -ah --info=progress2' alias update="sudo apt update && sudo apt upgrade -y" alias cdw="cd $HOME/workspace" diff --git a/.vimrc b/.vimrc index ec1850a..e19725b 100644 --- a/.vimrc +++ b/.vimrc @@ -130,3 +130,10 @@ inoremap pumvisible() ? '' : \ '=pumvisible() ? "\Down>" : ""' inoremap pumvisible() ? '' : \ '=pumvisible() ? "\Down>" : ""' + + +" disable arrow keys +noremap +noremap +noremap +noremap diff --git a/ansible-playbooks/apt-packages.yml b/ansible-playbooks/apt-packages.yml index b55a0c4..fada30f 100644 --- a/ansible-playbooks/apt-packages.yml +++ b/ansible-playbooks/apt-packages.yml @@ -154,7 +154,8 @@ - xsltproc - libpq-dev - libmysqlclient-dev - - zsh + - zsh + - jq - name: Add my user to docker group ansible.builtin.user: name: "{{ ansible_user_id }}" diff --git a/ansible-playbooks/upgrade-packages.yml b/ansible-playbooks/upgrade-packages.yml new file mode 100644 index 0000000..0eef69f --- /dev/null +++ b/ansible-playbooks/upgrade-packages.yml @@ -0,0 +1,11 @@ +--- +- name: apt-pacakges + hosts: local-network + tasks: + - name: apt update + apt: + update_cache: yes + - name: apt upgrade + apt: + upgrade: yes + become: true