🇨🇦 🏳️⚧️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # simlink this file into PATH with a name like 'echoenv' or smth | |
| printenv | | |
| sort | grep "^$1" --ignore-case | | |
| bat --no-paging --style=grid,numbers | |
| # replace above line with cat to make more portable | |
| # print PATH | |
| if [[ -z "$1" || "$1" = "PATH" || "$1" = "path" ]]; then |