mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
fix: actually use exa for ls
This commit is contained in:
parent
0448037a6b
commit
7bd2125438
@ -7,10 +7,11 @@
|
|||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
|
||||||
# Packages used in abbreviations and aliases
|
# Packages used in abbreviations and aliases
|
||||||
home.packages = with pkgs; [ curl ];
|
home.packages = with pkgs; [ curl exa ];
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
shellAliases = { ls = "exa"; };
|
||||||
functions = {
|
functions = {
|
||||||
commandline-git-commits = {
|
commandline-git-commits = {
|
||||||
description = "Insert commit into commandline";
|
description = "Insert commit into commandline";
|
||||||
@ -41,7 +42,6 @@
|
|||||||
description = "Tidy up JSON using jq";
|
description = "Tidy up JSON using jq";
|
||||||
body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS
|
body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS
|
||||||
};
|
};
|
||||||
ls = { body = "${pkgs.exa}/bin/exa $argv"; };
|
|
||||||
note = {
|
note = {
|
||||||
description = "Edit or create a note";
|
description = "Edit or create a note";
|
||||||
argumentNames = "filename";
|
argumentNames = "filename";
|
||||||
|
Loading…
Reference in New Issue
Block a user