feat(zsh): make arch linux detection more generic, apply to any linux
This commit is contained in:
parent
ab277df533
commit
0fa82d05d2
@ -42,8 +42,8 @@ if [[ "$OSTYPE" = "darwin"* ]]; then
|
|||||||
alias sed="gsed"
|
alias sed="gsed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Arch Linux ###
|
### Linux ###
|
||||||
if [[ "$(uname -r)" == *"arch"* ]]; then
|
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
||||||
if command -v wl-copy >/dev/null 2>&1; then
|
if command -v wl-copy >/dev/null 2>&1; then
|
||||||
alias c="wl-copy"
|
alias c="wl-copy"
|
||||||
alias p="wl-paste"
|
alias p="wl-paste"
|
||||||
|
Loading…
Reference in New Issue
Block a user