Started working on guest@euporie
This commit is contained in:
parent
0503a81ee8
commit
230a739327
62 changed files with 188 additions and 135 deletions
home/features/cli
16
home/features/cli/exa.nix
Normal file
16
home/features/cli/exa.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = [ pkgs.exa ];
|
||||
|
||||
# TODO: generalize alias creation to all shells
|
||||
programs.fish.shellAliases =
|
||||
let exa = "${pkgs.exa}/bin/exa";
|
||||
in
|
||||
rec {
|
||||
ls = "${exa} --icons --long";
|
||||
la = "${ls} --all";
|
||||
lt = "${ls} --tree"; # Similar to tree, but also has --long!
|
||||
|
||||
# I am used to using pkgs.tree, so this is nice to have!
|
||||
tree = "${exa} --icons --tree";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue