~charles/dotfiles

ad3bfbbbe42694a10a5c8f5cdfc2409adc2f52d2 — Charles A. Daniels 1 year, 6 months ago ba8c440 2022-refresh
fix fish by explicitly clearing stdin
3 files changed, 11 insertions(+), 9 deletions(-)

M dottool
M modules/fish-config/setup.fish
M modules/fish-config/setup.sh
M dottool => dottool +2 -2
@@ 42,7 42,7 @@ run_script_module() {
	echo "executing script module $MODULE_NAME..."
	ICWD="$(pwd)"
	cd "./modules/$MODULE_NAME"
	bash -c "$MODULE_COMMAND"
	bash -c "$MODULE_COMMAND" < /dev/null
	cd "$ICWD"
	echo "done running script module $MODULE_NAME."
}


@@ 68,7 68,7 @@ run_overlay_module() {
	if [ ! -z "$MODULE_COMMAND" ] ; then
		cd "$ICWD"
		cd "./modules/$MODULE_NAME"
		bash -c "$MODULE_COMMAND"
		bash -c "$MODULE_COMMAND" < /dev/null
	fi
	set -u


M modules/fish-config/setup.fish => modules/fish-config/setup.fish +8 -6
@@ 1,11 1,13 @@
#!/usr/bin/env fish

curl -sL https://git.io/fisher | source

fisher install \
    jorgebucaran/fisher\
    oh-my-fish/plugin-foreign-env\
    evanlucas/fish-kubectl-completions\
    fisher install ryotako/fish-completion-generator\
    oh-my-fish/plugin-license
fisher install\
	jorgebucaran/fisher\
	oh-my-fish/plugin-foreign-env\
	evanlucas/fish-kubectl-completions\
	ryotako/fish-completion-generator\
	oh-my-fish/plugin-license

if [ -x (which rq) ]
	rq install-completions > "$HOME/.config/fish/completions/rq.fish"

M modules/fish-config/setup.sh => modules/fish-config/setup.sh +1 -1
@@ 6,4 6,4 @@ if [ ! -x "$(which fish)" ] ; then
fi

cd "$(dirname "$0")"
fish ./setup.fish
fish --no-config ./setup.fish