Skip to content

Commit

Permalink
build: Run fish-install.fish from same directory as wherever all-inst…
Browse files Browse the repository at this point in the history
…all.sh is in
  • Loading branch information
vorburger committed Oct 19, 2024
1 parent a202a8f commit 33b2698
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion all-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ set -euxo pipefail

# apt|dnf-install.sh has DNF RPM / APT DEB packages, this is everything else

DIR="$(realpath $(dirname "$0"))"

[ -s /usr/bin/nano ] || [ -s "$HOME"/bin/nano ] || "$(dirname "$0")"/install-nano.sh

# see https://github.com/jorgebucaran/fisher/issues/742
# and https://github.com/vorburger/dotfiles-reproduce-problem
# and https://github.com/orgs/community/discussions/35527
exec </dev/null

fish fish-install.fish
fish "$DIR"/fish-install.fish

# https://github.com/jorgebucaran/fisher
[ -s "$HOME"/.config/fish/functions/fisher.fish ] || ( \
Expand Down

0 comments on commit 33b2698

Please sign in to comment.