fish: Add alias for converting the epoch to a date
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
parent
e3ddc0e96a
commit
137e388593
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
||||||
functions = {
|
functions = {
|
||||||
ns = "nix shell nixpkgs#$argv[1]";
|
ns = "nix shell nixpkgs#$argv[1]";
|
||||||
nss = "nix shell nixpkgs#$argv[1] -c $argv";
|
nss = "nix shell nixpkgs#$argv[1] -c $argv";
|
||||||
|
epoch = "date --date +\"@$argv[1]\"";
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue