Skip to content

Commit

Permalink
Switch from Google Drive to Nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Oct 23, 2023
1 parent b98cb76 commit e3ff205
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ My macOS setup.
3. Set up other apps
- Import Raycast settings from Google Drive
- Import Raycast settings from Nextcloud
- Disable "Hardware Media Key Handling" in `brave://flags`
- Enable Safari Dev Tools at `Safari App > Settings > Advanced`
- Sourcetree
Expand All @@ -67,7 +67,7 @@ Backup these files/folders from old machine and restore on new machine:
- `~/Desktop`
- `~/Downloads`
- `~/My Drive`
- `~/Nextcloud`
- `~/projects`
- `~/.config/op`
- `~/.extra`
Expand Down
1 change: 0 additions & 1 deletion dotfiles/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
alias sudo='sudo '

# Shortcuts
alias d="cd ~/My\ Drive"
alias dl="cd ~/Downloads"
alias dt="cd ~/Desktop"
alias p="cd ~/projects"
Expand Down
2 changes: 1 addition & 1 deletion scripts/cask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ brew install --cask monitorcontrol
brew install --cask brave-browser
brew install --cask transmission
brew install --cask balenaetcher
brew install --cask google-drive
brew install --cask appcleaner
brew install --cask nextcloud
brew install --cask tailscale
brew install --cask 1password
brew install --cask 1password-cli
Expand Down
10 changes: 5 additions & 5 deletions scripts/shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ mkdir -p "$HOME/.config/rtx"
ln -sf "$REPO_PATH/rtx/config.toml" "$HOME/.config/rtx/config.toml"
ln -sf "$REPO_PATH/starship/starship.toml" "$HOME/.config/starship.toml"

# Symlink Google Drive dirs if present
# Symlink Nextcloud dirs if present
# NOTE: Must delete existing dirs before symlinking to avoid recursive symlink
if [ -d "$HOME/My Drive/Apps/" ]; then
if [ -d "$HOME/Nextcloud/Apps/" ]; then
rm -f "$HOME/scripts"
ln -s "$HOME/My Drive/Apps/scripts/" "$HOME/scripts"
ln -s "$HOME/Nextcloud/Apps/macbook-scripts/" "$HOME/scripts"

mkdir -p "$HOME/.warp"
rm -f "$HOME/.warp/launch_configurations"
ln -s "$HOME/My Drive/Apps/Warp/launch_configurations" "$HOME/.warp/launch_configurations"
ln -s "$HOME/Nextcloud/Apps/Warp/launch_configurations" "$HOME/.warp/launch_configurations"
else
echo "==> ℹ️ Google Drive folder not found - skipping symlinks"
echo "==> ℹ️ Nextcloud folder not found - skipping symlinks"
fi

echo "==> 📜 Setting Homebrew Zsh as default shell"
Expand Down

0 comments on commit e3ff205

Please sign in to comment.