cli: Configure exa to replace ls
This commit is contained in:
parent
3a2f714943
commit
ba2ef103fa
1 changed files with 11 additions and 10 deletions
21
home/cli.nix
21
home/cli.nix
|
|
@ -19,11 +19,7 @@ in {
|
||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = "/home/${config.home.username}";
|
||||||
stateVersion = "21.05";
|
stateVersion = "21.05";
|
||||||
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
||||||
shellAliases = {
|
shellAliases = { e = "emacsclient -c $@"; };
|
||||||
e = "emacsclient -c $@";
|
|
||||||
ls = "exa $@";
|
|
||||||
t = "exa -T $@";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# do not show home-manager notifications
|
# do not show home-manager notifications
|
||||||
|
|
@ -59,8 +55,6 @@ in {
|
||||||
htop-vim # htop with vim bindings
|
htop-vim # htop with vim bindings
|
||||||
erdtree # du+tree had sex
|
erdtree # du+tree had sex
|
||||||
dua # ncdu but better
|
dua # ncdu but better
|
||||||
bat # better cat
|
|
||||||
exa # better ls
|
|
||||||
fzf
|
fzf
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
|
|
@ -107,6 +101,9 @@ in {
|
||||||
programs = {
|
programs = {
|
||||||
bash = { enable = true; };
|
bash = { enable = true; };
|
||||||
|
|
||||||
|
# better cat
|
||||||
|
bat.enable = true;
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
|
|
@ -117,10 +114,14 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
starship = { enable = true; };
|
# better ls with icons and stuff, maybe also try lsd
|
||||||
|
exa = {
|
||||||
|
enable = true;
|
||||||
|
icons = true;
|
||||||
|
enableAliases = true;
|
||||||
|
};
|
||||||
|
|
||||||
# better cat
|
starship = { enable = true; };
|
||||||
bat.enable = true;
|
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue