Exclude some aliases from mac which arent available on that platform
This commit is contained in:
parent
b4d847e140
commit
14aaeece77
1 changed files with 6 additions and 2 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue