From 91c55ffeff49ee1d2beb95faf9b301fe2c65348c Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 02 Feb 2025 23:21:56 +0000
Subject: [PATCH] Add config for nix server on rpi5

---
 all-shells/commonshell |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/all-shells/commonshell b/all-shells/commonshell
index 0fc60fa..9372e6a 100644
--- a/all-shells/commonshell
+++ b/all-shells/commonshell
@@ -18,7 +18,7 @@
 	find ${1:-'.'} -type f -print | sed -E -n 's/.+(\..*)$/\1/pi' | sort | uniq -c | sort -g
 }
 
-alias pip-upgrade="python -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 python -m pip install -U"
+alias pip-upgrade="pip --disable-pip-version-check list --outdated --format=json | python -c \"import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))\" | xargs -n1 pip install -U"
 
 #export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
 #alias ec=$EDITOR

--
Gitblit v1.9.3