1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 09:53:22 -07:00

fix bash not seeing anything in ~/sh on Linux hosts

This commit is contained in:
Connor Olding 2021-10-13 21:13:47 -07:00
parent ee1b2b752b
commit 129caebde2

View File

@ -38,7 +38,7 @@ ADDPATH "$HOME/sh"
# unlike zsh, we do not check the sha1sum of the output.
cd ~/sh \
&& printf "%s\n" '#!/usr/bin/env false' '[ -n "$preload" ] || exit 1' '' \
| cat - $(grep -lF YES_BASH -- $(find ~/sh -maxdepth 1 -type f)) \
| cat - $(grep -lF YES_BASH -- $(find ~/sh/ -maxdepth 1 -type f)) \
> ~/.sh-bash
)