Exclude some aliases from mac which arent available on that platform

This commit is contained in:
Martin Larsson 2024-05-23 00:17:19 +02:00
parent b4d847e140
commit 14aaeece77

View file

@ -98,8 +98,12 @@ alias lgit="lazygit"
alias neofetch="fastfetch" alias neofetch="fastfetch"
alias cat="bat" alias cat="bat"
alias fzf='fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"' 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 # Shell integration
eval "$(fzf --zsh)" eval "$(fzf --zsh)"