Make sure wlc/wlp works on mac os
This commit is contained in:
parent
bcf5f8a405
commit
ee4e8e7217
1 changed files with 4 additions and 1 deletions
|
|
@ -120,7 +120,10 @@ alias neofetch="fastfetch"
|
|||
alias cat="bat"
|
||||
alias fzf='fzf --preview "bat --color=always --style=numbers --line-range=:500 {}"'
|
||||
# wl-copy and wl-paste doesn't exist on mac, and mac has pbcopy and pbpaste
|
||||
if [[ "$(uname)" != "Darwin" ]]; then
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
alias wlc="pbcopy"
|
||||
alias wlp="pbpaste"
|
||||
else
|
||||
alias wlc="wl-copy"
|
||||
alias wlp="wl-paste"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue