diff --git a/home/.zshrc b/home/.zshrc index 4dcf613..0cc8aa4 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -98,8 +98,12 @@ alias lgit="lazygit" alias neofetch="fastfetch" alias cat="bat" alias fzf='fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"' -alias wlc="wl-copy" -alias wlp="wl-paste" + +# wl-copy and wl-paste doesn't exist on mac, and mac has pbcopy and pbpaste +if [[ "$(uname)" != "Darwin" ]]; then + alias wlc="wl-copy" + alias wlp="wl-paste" +fi # Shell integration eval "$(fzf --zsh)"