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:
parent
ee1b2b752b
commit
129caebde2
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user