From 5870a042cdcd747b36d2b4077ab4ce0c8d01aba3 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 26 Aug 2019 20:31:41 +0300 Subject: [PATCH] shellrcs: fix comment typo, add alias linux-check-cpu-vulns Closes: #22 --- rc/bashrc | 5 ++++- rc/zshrc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index dd10c8d2..a505ae36 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -578,7 +578,7 @@ alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'" #if hash yay 2>/dev/null; then # alias pacman="LANG=en yay --needed" #else -# I don't want to reinstall exact same versions that I have +# I don't want to reinstall exact same versions that I have alias pacman="LANG=en pacman --needed" #fi @@ -594,6 +594,9 @@ alias winkey="xxd /sys/firmware/acpi/tables/MSDM" # Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. alias startx="exec \startx" +# cat list of kernel detected vulnerabilities/states with filenames +alias linux-check-cpu-vulns="tail -n +1 /sys/devices/system/cpu/vulnerabilities/*" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index 8ada6234..9c0f2a3b 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -576,7 +576,7 @@ alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'" #if hash yay 2>/dev/null; then # alias pacman="LANG=en yay --needed" #else -# I don't want to reinstall exact same versions that I have +# I don't want to reinstall exact same versions that I have alias pacman="LANG=en pacman --needed" #fi @@ -592,6 +592,9 @@ alias winkey="xxd /sys/firmware/acpi/tables/MSDM" # Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. alias startx="exec \startx" +# cat list of kernel detected vulnerabilities/states with filenames +alias linux-check-cpu-vulns="tail -n +1 /sys/devices/system/cpu/vulnerabilities/*" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases