diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-21 02:17:56 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-21 02:17:56 +0200 |
| commit | 4a0ad53cab8815921ad9920a60328aa764abae3e (patch) | |
| tree | 9047445a718f29a2444553120ec5dadfd182c731 /common/install.sh | |
| parent | 0dc4b9bd273474d91644a3cfcd99924c58a3ac66 (diff) | |
| download | dotfiles-4a0ad53cab8815921ad9920a60328aa764abae3e.tar.gz dotfiles-4a0ad53cab8815921ad9920a60328aa764abae3e.zip | |
Testing
Diffstat (limited to 'common/install.sh')
| -rwxr-xr-x | common/install.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/common/install.sh b/common/install.sh index b316d54..98d09f9 100755 --- a/common/install.sh +++ b/common/install.sh @@ -1606,9 +1606,6 @@ deploy_config() { if [[ -d "$DOTFILES_DIR" ]]; then print_info "Checking out dotfiles from repository..." - # Reload shell configuration to make config function available - reload_shell_config - # First, checkout files from the bare repository to restore directory structure if [[ "$DRY_RUN" == true ]]; then print_dry_run "config checkout" @@ -1690,33 +1687,6 @@ verify_config_command() { fi } -reload_shell_config() { - print_info "Reloading shell configuration..." - - # Source common shell files if they exist - local shell_files=() - - case "$(basename "$SHELL")" in - bash) - shell_files+=("$HOME/.bashrc" "$HOME/.profile") - ;; - zsh) - shell_files+=("$HOME/.zshrc" "$HOME/.config/zsh/.zshrc" "$HOME/.profile") - ;; - *) - shell_files+=("$HOME/.profile") - ;; - esac - - for shell_file in "${shell_files[@]}"; do - if [[ -f "$shell_file" ]]; then - print_info "Sourcing: $shell_file" - # shellcheck disable=SC1090 - source "$shell_file" 2>/dev/null || print_warning "Failed to source $shell_file" - fi - done -} - # Manual deployment function (fallback when config command not available) manual_deploy_dotfiles() { print_info "Using manual deployment method..." |
