From 7de99812634568a1a1384b389dbc08b6ad13ce08 Mon Sep 17 00:00:00 2001 From: Oscar Pocock Date: Mon, 13 Jun 2022 23:15:23 +0100 Subject: [PATCH] Added more aliases --- roles/base/files/users/noble/bash/bash_aliases | 15 ++++++++++++++- roles/base/tasks/software/core.yml | 2 +- roles/base/tasks/software/development.yml | 2 +- roles/base/tasks/software/social.yml | 2 +- roles/base/tasks/software/workstation.yml | 2 +- 5 files changed, 18 insertions(+), 5 deletions(-) diff --git a/roles/base/files/users/noble/bash/bash_aliases b/roles/base/files/users/noble/bash/bash_aliases index 2790c47..6dbb0be 100644 --- a/roles/base/files/users/noble/bash/bash_aliases +++ b/roles/base/files/users/noble/bash/bash_aliases @@ -1 +1,14 @@ -alias update="sudo pacman -Sy" \ No newline at end of file +alias c="clear" +alias cp='cp -iv' +alias less='less -R' +alias mkdir='mkdir -pv' +alias mv='mv -i' +alias ping='ping -c 10' +alias ps='ps auxf' +alias q="exit" +alias rm='rm -iv' +alias svi='sudo vi' +alias vi='vim' +alias df='df -h -x squashfs -x tmpfs -x devtmpfs' + +alias speedtest='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -' \ No newline at end of file diff --git a/roles/base/tasks/software/core.yml b/roles/base/tasks/software/core.yml index 4236022..2ca324b 100644 --- a/roles/base/tasks/software/core.yml +++ b/roles/base/tasks/software/core.yml @@ -1,5 +1,5 @@ - name: install software | core - community.general.pacman: + ansible.builtin.package: name: - htop - vim diff --git a/roles/base/tasks/software/development.yml b/roles/base/tasks/software/development.yml index 5f42e0a..a2f6f32 100644 --- a/roles/base/tasks/software/development.yml +++ b/roles/base/tasks/software/development.yml @@ -1,5 +1,5 @@ - name: install software | development - community.general.pacman: + ansible.builtin.package: name: - git - git-lfs diff --git a/roles/base/tasks/software/social.yml b/roles/base/tasks/software/social.yml index 058f45c..22219ce 100644 --- a/roles/base/tasks/software/social.yml +++ b/roles/base/tasks/software/social.yml @@ -1,5 +1,5 @@ - name: install software | social - community.general.pacman: + ansible.builtin.package: name: - signal-desktop - discord diff --git a/roles/base/tasks/software/workstation.yml b/roles/base/tasks/software/workstation.yml index 5c2bd4e..7699de8 100644 --- a/roles/base/tasks/software/workstation.yml +++ b/roles/base/tasks/software/workstation.yml @@ -1,5 +1,5 @@ - name: install software | workstation - community.general.pacman: + ansible.builtin.package: name: - firefox - alacritty