shell: add ns alias
This commit is contained in:
parent
d0e9ba78e8
commit
12fc826395
1 changed files with 1 additions and 3 deletions
|
@ -126,15 +126,13 @@ alias \
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
alias \
|
alias \
|
||||||
|
ns='nix-shell' \
|
||||||
nx='$EDITOR /etc/nixos/systems/$HOST/default.nix' \
|
nx='$EDITOR /etc/nixos/systems/$HOST/default.nix' \
|
||||||
nxf='$EDITOR /etc/nixos/flake.nix' \
|
nxf='$EDITOR /etc/nixos/flake.nix' \
|
||||||
nxpl='sudo nix-channel --update' \
|
nxpl='sudo nix-channel --update' \
|
||||||
nxup='sudo nixos-rebuild switch' \
|
nxup='sudo nixos-rebuild switch' \
|
||||||
nxfup='cd /etc/nixos; nix flake update; cd -' \
|
nxfup='cd /etc/nixos; nix flake update; cd -' \
|
||||||
|
|
||||||
# Remove?
|
|
||||||
# nxupup='sudo nixos-rebuild switch --upgrade' \
|
|
||||||
|
|
||||||
# file copying with a progress bar
|
# file copying with a progress bar
|
||||||
alias cpv="rsync -ah --info=progress2"
|
alias cpv="rsync -ah --info=progress2"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue