mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
update "channel" bash alias
This commit is contained in:
parent
479989144b
commit
0f1ba4a4ff
1 changed files with 3 additions and 2 deletions
|
@ -58,8 +58,9 @@
|
||||||
alias buildsys='nix build -f "<nixpkgs/nixos>" --no-link system'
|
alias buildsys='nix build -f "<nixpkgs/nixos>" --no-link system'
|
||||||
|
|
||||||
alias channel='
|
alias channel='
|
||||||
echo " Local: $(cat /nix/var/nix/profiles/per-user/root/channels/nixos/.git-revision)";\
|
echo "$(curl --silent -L https://channels.nixos.org/nixos-20.09/git-revision)" nixos-20.09;\
|
||||||
echo "Remote: $(curl --silent -L https://channels.nixos.org/nixos-unstable/git-revision)"
|
echo "$(cat /nix/var/nix/profiles/per-user/root/channels/nixos/.git-revision)" local nixos;\
|
||||||
|
echo "$(curl --silent -L https://channels.nixos.org/nixos-unstable/git-revision) nixos-unstable"
|
||||||
'
|
'
|
||||||
|
|
||||||
function _update_ps1() {
|
function _update_ps1() {
|
||||||
|
|
Loading…
Reference in a new issue