Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix: use allAliases function (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Sep 24, 2023
1 parent 67a485f commit 9dd103c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/flake/templates/aliases.nix.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, misc, ... }: {
# DO NOT EDIT: This file is managed by fleek. Manual changes will be overwritten.
home.shellAliases = {
{{- range $index, $element := .Config.Aliases }}
{{- range $index, $element := .Config.AllAliases }}
"{{$index}}" = "{{$element}}";
{{ end -}}
{{- $programs := .Bling.FinalPrograms .Config -}}
Expand Down
4 changes: 2 additions & 2 deletions internal/fleek/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var (
)

var systemAliases = map[string]string{
"update-fleek": "nix run \"https://getfleek.dev/latest.tar.gz\" -- update",
"latest-fleek-version": "nix run \"https://getfleek.dev/latest.tar.gz\" -- version",
"update-fleek": "nix run https://getfleek.dev/latest.tar.gz -- update",
"latest-fleek-version": "nix run https://getfleek.dev/latest.tar.gz -- version",
}

// Config holds the options that will be
Expand Down

0 comments on commit 9dd103c

Please sign in to comment.