aliases, eza
This commit is contained in:
parent
8d0b874958
commit
5b344eacc5
3 changed files with 16 additions and 10 deletions
|
|
@ -1,16 +1,6 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home.shellAliases = {
|
||||
top = "btm --battery";
|
||||
du = "dust";
|
||||
ymd = "date +'%Y-%m-%d'";
|
||||
dmy = "date +'%-d.-%-m.%Y'";
|
||||
r = "R --no-save --no-restore";
|
||||
R = "R --no-save --no-restore";
|
||||
cdg = "cd \$(git rev-parse --show-toplevel)";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@
|
|||
home.homeDirectory = "/home/${config.home.username}";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
btm
|
||||
dust
|
||||
eza
|
||||
fastfetch
|
||||
fzf
|
||||
jq
|
||||
|
|
@ -20,6 +22,15 @@
|
|||
yq
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
cdg = "cd \$(git rev-parse --show-toplevel)";
|
||||
dmy = "date +'%-d.-%-m.%Y'";
|
||||
du = "dust";
|
||||
ls = "eza";
|
||||
top = "btm --battery";
|
||||
ymd = "date +'%Y-%m-%d'";
|
||||
};
|
||||
|
||||
imports = [
|
||||
../fish.nix
|
||||
../vifm.nix
|
||||
|
|
|
|||
|
|
@ -52,4 +52,9 @@ in
|
|||
R-packed
|
||||
RStudio-packed
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
r = "R --no-save --no-restore";
|
||||
R = "R --no-save --no-restore";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue