diff --git a/config/zsh/aliases/flatpak.zsh b/config/zsh/aliases/flatpak.zsh index 4899c12..bb161d4 100644 --- a/config/zsh/aliases/flatpak.zsh +++ b/config/zsh/aliases/flatpak.zsh @@ -1,3 +1,7 @@ +if [[ $OSTYPE -ne 'linux-gnu' ]]; then + return +fi + # Auto-generated aliases for Flatpak applications alias pikabackup='flatpak run org.gnome.World.PikaBackup' diff --git a/config/zsh/zprofile b/config/zsh/zprofile index 180e794..860284e 100755 --- a/config/zsh/zprofile +++ b/config/zsh/zprofile @@ -33,3 +33,7 @@ update_path "$PNPM_HOME" update_path "$HOME/.local/share/rtx/shims" . "$HOME/.cargo/env" + +if [[ $OSTYPE =~ 'darwin' ]]; then + eval "$(/opt/homebrew/bin/brew shellenv)" +fi diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 32e6d39..7f325c0 100755 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -51,14 +51,15 @@ ZSHZ_TILDE=1 plugins=( alias-finder - # archlinux bgnotify colored-man-pages + composer docker docker-compose fd fzf git + laravel safe-paste # don't run code when pasting systemd z @@ -66,8 +67,8 @@ plugins=( zsh-autopair zsh-autosuggestions zsh-completions - zsh-syntax-highlighting zsh-interactive-cd + zsh-syntax-highlighting ) # If not running interactively, don't do anything