mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
fix bash not seeing anything in ~/sh
on Linux hosts
This commit is contained in:
parent
ee1b2b752b
commit
129caebde2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue