From 136f6a6bf8c36a9c9f261c220db8382d50847d71 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Mon, 10 Oct 2022 10:20:07 -0300 Subject: [PATCH] [ranger] Explicitly use python3 in scopes.sh I hate Ubuntu. Python 3 should be default --- ranger/scope.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ranger/scope.sh b/ranger/scope.sh index dd31bfc..24f22b1 100755 --- a/ranger/scope.sh +++ b/ranger/scope.sh @@ -72,16 +72,16 @@ handle_extension() { exit 1;; feather) - /usr/bin/python -c "import pandas as pd; print(pd.read_feather('${FILE_PATH}'))" && exit 5 + /usr/bin/python3 -c "import pandas as pd; print(pd.read_feather('${FILE_PATH}'))" && exit 5 exit 1;; npy) - /usr/bin/python -c "import numpy as np; print(np.load('${FILE_PATH}'))" && exit 5 + /usr/bin/python3 -c "import numpy as np; print(np.load('${FILE_PATH}'))" && exit 5 exit 1;; csv) - /usr/bin/python -c "import pandas as pd; print(pd.read_csv('${FILE_PATH}'))" && exit 5 - exit 1;; + /usr/bin/python3 -c "import pandas as pd; print(pd.read_csv('${FILE_PATH}'))" && exit 5 + exit 1;; # OpenDocument # odt|ods|odp|sxw)