dotfiles/scripts/bin/prettypath

10 lines
245 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Script Name: prettypath
# Description: Display $PATH with one directory per line
# Source: https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
# Usage: prettypath
echo "$PATH" | sed 's/:/\
/g'