diff --git a/Dockerfile b/Dockerfile index f586a28..8859c8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:edge RUN apk --no-cache add git curl RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14 ENV SHELL /usr/bin/fish diff --git a/bin/chezmoi b/bin/chezmoi deleted file mode 100755 index 83afae2..0000000 Binary files a/bin/chezmoi and /dev/null differ diff --git a/dot_config/private_fish/config.fish b/dot_config/private_fish/config.fish index 86e9a8d..63ba98c 100644 --- a/dot_config/private_fish/config.fish +++ b/dot_config/private_fish/config.fish @@ -1,7 +1,11 @@ if status is-interactive # Commands to run in interactive sessions can go here - zoxide init fish | source - atuin init fish | source + if type -q $zoxide + zoxide init fish | source + end + if type -q $atuin + atuin init fish | source + end if test -f ~/.config/fish/config.fish.local source ~/.config/fish/config.fish.local