Some changes:
- FOSDEM wifi - Started trying to use eww (I think I added a base16 theming system?) - Custom exa aliases!
This commit is contained in:
parent
9f126e7dfc
commit
9eeb459372
11 changed files with 74 additions and 14 deletions
home/adrielus/features/cli
|
@ -6,7 +6,6 @@
|
|||
|
||||
# Install clis
|
||||
home.packages = with pkgs; [
|
||||
tree # Print directory structure
|
||||
ranger # Terminal file explorer
|
||||
comma # Intstall and run programs by sticking a , before them
|
||||
bc # Calculator
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
{
|
||||
programs.exa = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
};
|
||||
{ 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