fish: Edit function ns
to accept multiple parameters
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
parent
35f9f289c2
commit
01296dcc57
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
"cdt" = "cd (mktemp -d)";
|
"cdt" = "cd (mktemp -d)";
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
ns = "nix shell nixpkgs#$argv[1]";
|
ns = "nix shell nixpkgs#$argv";
|
||||||
nss = "nix shell nixpkgs#$argv[1] -c $argv";
|
nss = "nix shell nixpkgs#$argv[1] -c $argv";
|
||||||
epoch = "date --date +\"@$argv[1]\"";
|
epoch = "date --date +\"@$argv[1]\"";
|
||||||
which = "ls -l (which $argv[1])";
|
which = "ls -l (which $argv[1])";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue