From ef9cd9f81419eccf777fc007b07b8f5d7eead2c3 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 23 Dec 2021 09:13:40 -0800 Subject: [PATCH] added npm_update alias --- bashrc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc.txt b/bashrc.txt index f0f8730c..d82ee44a 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -242,7 +242,8 @@ alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null alias weather="curl -s 'http://wttr.in' && inxi -w" alias ipaddr="curl ifconfig.me" alias killport="fuser -k" -alias rmorphans="sudo pacman -Rs $(pacman -Qdtq)" +alias rmorphans="doas pacman -Rs $(pacman -Qdtq)" +alias npm_upgrade="doas npm install -g npm@latest" alias rm="newrm -vi" alias {doasedit,sudoedit}="doas rnano" alias shred="shred -uz" # shreds the file and overwrites it with 1s and 0s