This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

zsh: add download_nixpkgs_cache_index function

+7
+7
tools/zsh.nix
··· 101 101 fi 102 102 } 103 103 104 + download_nixpkgs_cache_index () { 105 + filename="index-$(uname -m | sed 's/^arm64$/aarch64/')-$(uname | tr A-Z a-z)" 106 + mkdir -p ~/.cache/nix-index && cd ~/.cache/nix-index 107 + # -N will only download a new version if there is an update. 108 + wget -q -N https://github.com/nix-community/nix-index-database/releases/latest/download/$filename 109 + ln -f $filename files 110 + } 104 111 105 112 # Setup aliases. 106 113 alias -- grep='grep --color=auto'