From f825004ae097ecc319d4108a639118b62caf4f39 Mon Sep 17 00:00:00 2001 From: Justin Williams Date: Wed, 31 Jul 2024 10:19:42 -0600 Subject: [PATCH] Remove misc PFF related calls --- files/.chezmoiexternal.yaml | 2 -- files/dot_local/bin/pff/executable_pff | 23 ------------------- .../zsh/config/aliases.zsh.tmpl | 4 ---- files/private_dot_config/zsh/dot_zshrc.tmpl | 3 --- 4 files changed, 32 deletions(-) delete mode 100644 files/dot_local/bin/pff/executable_pff diff --git a/files/.chezmoiexternal.yaml b/files/.chezmoiexternal.yaml index f9d9732..0a1ec3b 100644 --- a/files/.chezmoiexternal.yaml +++ b/files/.chezmoiexternal.yaml @@ -21,12 +21,10 @@ url: https://raw.githubusercontent.com/docker/cli/master/contrib/completion/zsh/_docker refreshPeriod: {{ $refreshPeriodWeek }} -{{ if .pff }} .config/zsh/functions/_asdf: type: file url: https://raw.githubusercontent.com/asdf-vm/asdf/master/completions/_asdf refreshPeriod: {{ $refreshPeriodWeek }} -{{ end }} .cache/zsh/external/zsh-syntax-highlighting: type: archive diff --git a/files/dot_local/bin/pff/executable_pff b/files/dot_local/bin/pff/executable_pff deleted file mode 100644 index 763b5ee..0000000 --- a/files/dot_local/bin/pff/executable_pff +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env zsh - -# Note: This script is intended to be run from the root of the project and assumes that you have -# the react-native-pffkit repo adjacent to it. If you don't, you'll need to update the path below. - -set -e - -# Run build-xcframework.sh -local source_dir="$HOME/src/pro-football-focus/pffkit" -local js_pffkit_dir="$HOME/src/pro-football-focus/js-pffkit" -local react_project_dir="$js_pffkit_dir/packages/react-native" - -pushd "$source_dir" -"$source_dir/Scripts/build-xcframework.sh" - -echo "Copying the xcframework to the react-native-pffkit project" -tar -xzf "$source_dir/build/PFFKit.xcframework.tar.gz" -C "$react_project_dir/ios/vendor" -popd - -# Bootstrap the new xcframework -pushd "$js_pffkit_dir" -npm run ios-setup --workspace=@pro-football-focus/pffkit-react-native -popd diff --git a/files/private_dot_config/zsh/config/aliases.zsh.tmpl b/files/private_dot_config/zsh/config/aliases.zsh.tmpl index fbc47ec..f304050 100644 --- a/files/private_dot_config/zsh/config/aliases.zsh.tmpl +++ b/files/private_dot_config/zsh/config/aliases.zsh.tmpl @@ -57,7 +57,3 @@ alias ls='ls --color=auto' for recipe in `just --justfile ~/.user.justfile --summary`; do alias $recipe="just --justfile ~/.user.justfile --working-directory . $recipe" done - -{{- if .pff }} -alias jsp="code $HOME/src/pro-football-focus/js-pffkit/js-pffkit.code-workspace" -{{- end }} diff --git a/files/private_dot_config/zsh/dot_zshrc.tmpl b/files/private_dot_config/zsh/dot_zshrc.tmpl index c06b379..eba8740 100644 --- a/files/private_dot_config/zsh/dot_zshrc.tmpl +++ b/files/private_dot_config/zsh/dot_zshrc.tmpl @@ -51,9 +51,6 @@ path=( {{ else }} $HOME/.local/bin/linux(N) {{ end -}} - {{- if .pff }} - $HOME/.local/bin/pff - {{ end -}} $CONFIG_HOME/pypoetry/bin(N) $PYENV_ROOT/bin(N) $POETRY_HOME/bin(N)