nicer ll
This commit is contained in:
parent
b2f5485fc1
commit
bd08882fc8
1 changed files with 12 additions and 3 deletions
|
@ -78,7 +78,15 @@ in {
|
||||||
|
|
||||||
functions = {
|
functions = {
|
||||||
run = {
|
run = {
|
||||||
body = "nix run nixpkgs#$argv[1] -- $argv[2..]";
|
body = ''
|
||||||
|
nix run nixpkgs#$argv[1] -- $argv[2..]
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
init_dev = {
|
||||||
|
body = ''
|
||||||
|
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
fish_prompt = {
|
fish_prompt = {
|
||||||
|
@ -87,6 +95,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
|
ll = "ls --almost-all --ignore-backups --literal --human-readable --time-style=long-iso -l";
|
||||||
|
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
gc = "git commit";
|
gc = "git commit";
|
||||||
gp = "git push";
|
gp = "git push";
|
||||||
|
@ -94,10 +104,9 @@ in {
|
||||||
gpl = "git pull --recurse-submodules";
|
gpl = "git pull --recurse-submodules";
|
||||||
gst = "git status";
|
gst = "git status";
|
||||||
|
|
||||||
repl = "nix repl --expr 'import <nixpkgs>{}'";
|
|
||||||
|
|
||||||
nrb = "sudo nixos-rebuild switch --cores 0 --flake .";
|
nrb = "sudo nixos-rebuild switch --cores 0 --flake .";
|
||||||
nd = "nix develop";
|
nd = "nix develop";
|
||||||
|
repl = "nix repl --expr 'import <nixpkgs>{}'";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue