Add some more aliases
This commit is contained in:
parent
82087e73b5
commit
c6b5676eeb
|
@ -59,6 +59,7 @@ in
|
||||||
_nix-up = "doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report && df -h && date";
|
_nix-up = "doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report && df -h && date";
|
||||||
home-up = "git -C ~/dotfiles pull && nix-channel --update && home-manager switch && hm-changes-report";
|
home-up = "git -C ~/dotfiles pull && nix-channel --update && home-manager switch && hm-changes-report";
|
||||||
_home-up = "nix-channel --update && home-manager switch && hm-changes-report";
|
_home-up = "nix-channel --update && home-manager switch && hm-changes-report";
|
||||||
|
nix-hammer = "nix shell -f https://github.com/jtojnar/nixpkgs-hammering/archive/master.tar.gz -c nixpkgs-hammer";
|
||||||
|
|
||||||
fb = "fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'";
|
fb = "fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'";
|
||||||
|
|
||||||
|
@ -68,6 +69,8 @@ in
|
||||||
erg = "ea run grouped rg --";
|
erg = "ea run grouped rg --";
|
||||||
fd = "ea run linear fd --";
|
fd = "ea run linear fd --";
|
||||||
|
|
||||||
|
git-reset-branch = "git fetch && git reset --hard origin/\$(git branch --show-current)";
|
||||||
|
|
||||||
# Git log aliases from the omz git plugin
|
# Git log aliases from the omz git plugin
|
||||||
gl = "git pull";
|
gl = "git pull";
|
||||||
glg = "git log --stat";
|
glg = "git log --stat";
|
||||||
|
|
Loading…
Reference in New Issue