From 54760b73c4f72c96605ffd4312b0844434c4d390 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 2 Apr 2024 14:21:52 -0400 Subject: [PATCH] fix sep bug --- scripts/show-path | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/show-path b/scripts/show-path index 1cb6cdc..4bc3887 100755 --- a/scripts/show-path +++ b/scripts/show-path @@ -1,12 +1,5 @@ #! /bin/bash set -e -# Determine this platform's path separator -if [ $(uname -o | grep -c Msys) -gt 0 ]; then - pathsep=";" -else - pathsep=":" -fi - # Print each entry in $PATH on its own line -echo $PATH | tr $pathsep '\n' +echo $PATH | tr ':' '\n'