From 39f81daa866ae193e5707975848d4f2c8798c8d8 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 15 Aug 2020 22:38:15 +0200 Subject: [PATCH] use py alias within pippy alias --- home/-shrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/-shrc b/home/-shrc index ce0b534..25bb1bc 100644 --- a/home/-shrc +++ b/home/-shrc @@ -122,12 +122,13 @@ alias gb='git --no-pager branch' # being specific {{{2 [ -e "$HOME/python3" ] && alias py="~/python3" || alias py="python3" +alias maybesudo="maybesudo " # allows aliases within the alias alias pip="maybesudo -H pip3" alias revend='objcopy -I binary -O binary --reverse-bytes=4' alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj" alias clone='maybesudo rsync -aHA --info=progress2 --no-i-r' alias aligntabs="column -t -s$'\t'" -alias pippy="maybesudo python3 -m pip install --upgrade --upgrade-strategy only-if-needed" +alias pippy="maybesudo py -m pip install --upgrade --upgrade-strategy only-if-needed" alias crawla='ssh joshua@crawl.akrasiac.org -i ~/.ssh/crawl' alias crawlz='ssh crawl@crawl.develz.org -i ~/.ssh/crawl'