From 79dd26a43ae92c9af680e0753f71d99bcf4cb5fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 7 Mar 2022 18:38:06 +0530 Subject: [PATCH] ... --- shell-integration/ssh/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-integration/ssh/bootstrap.sh b/shell-integration/ssh/bootstrap.sh index 9a6fcc1a2..f5525c8e1 100644 --- a/shell-integration/ssh/bootstrap.sh +++ b/shell-integration/ssh/bootstrap.sh @@ -26,8 +26,8 @@ detect_python() { } if command -v base64 > /dev/null 2> /dev/null; then - base64_encode() { base64 | tr -d \\n\\r; } - base64_decode() { base64 -d; } + base64_encode() { command base64 | command tr -d \\n\\r; } + base64_decode() { command base64 -d; } elif detect_python; then pybase64() { python -c "import sys, base64; getattr(sys.stdout, 'buffer', sys.stdout).write(base64.standard_b64$1(getattr(sys.stdin, 'buffer', sys.stdin).read()))"; } base64_encode() { pybase64 "encode"; }