refactor(zsh/alias): Simplify code
This commit is contained in:
parent
e4c9e1c890
commit
fa82e59cec
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ alias center-pfetch="printf '\n'; pfetch | sed '\$d' | center -l"
|
||||||
|
|
||||||
alias neofetch='fastfetch'
|
alias neofetch='fastfetch'
|
||||||
|
|
||||||
[ "$ZI_NIX_FLAKE" = "" ] || {
|
[ $ZI_NIX_FLAKE ] && {
|
||||||
# FIXME: Alias for NixOS
|
# FIXME: Alias for NixOS
|
||||||
[ $ZI_IS_DARWIN = 1 ] && {
|
[ $ZI_IS_DARWIN = 1 ] && {
|
||||||
alias nix-switch='darwin-rebuild switch --flake $ZI_NIX_FLAKE'
|
alias nix-switch='darwin-rebuild switch --flake $ZI_NIX_FLAKE'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue