Skip to content

Commit

Permalink
updating dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
DMcP89 committed Mar 26, 2024
1 parent 85b2ac4 commit 4e7a80e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bash_aliases
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 7 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,10 @@ inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
\ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'
inoremap <expr> <M-,> pumvisible() ? '<C-n>' :
\ '<C-x><C-o><C-n><C-p><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'

" disable arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
3 changes: 2 additions & 1 deletion ansible-playbooks/apt-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
11 changes: 11 additions & 0 deletions ansible-playbooks/upgrade-packages.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4e7a80e

Please sign in to comment.