Adds bat and fzf
This commit is contained in:
parent
0910f9310f
commit
eee07c6580
21
home.nix
21
home.nix
@ -57,6 +57,7 @@
|
|||||||
shellAliases = {
|
shellAliases = {
|
||||||
j = "just";
|
j = "just";
|
||||||
g = "git";
|
g = "git";
|
||||||
|
l = "bat";
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
@ -94,10 +95,23 @@
|
|||||||
fenv source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
fenv source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
loginShellInit = ''
|
programs.bat = {
|
||||||
fish_add_path --move --prepend --path $HOME/.nix-profile/bin /run/wrappers/bin /etc/profiles/per-user/$USER/bin /run/current-system/sw/bin /nix/var/nix/profiles/default/bin # https://github.com/LnL7/nix-darwin/issues/122
|
enable = true;
|
||||||
'';
|
config = {
|
||||||
|
italic-text = "always";
|
||||||
|
paging = "always";
|
||||||
|
tabs = "2";
|
||||||
|
theme = "DarkNeon";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
fileWidgetCommand = "fd --type f --no-ignore";
|
||||||
|
historyWidgetOptions = [ "--reverse" "--sort" "--exact" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.micro = {
|
programs.micro = {
|
||||||
@ -112,6 +126,7 @@
|
|||||||
hlsearch = true;
|
hlsearch = true;
|
||||||
mkparents = true;
|
mkparents = true;
|
||||||
savecursor = true;
|
savecursor = true;
|
||||||
|
softwrap = true;
|
||||||
manipulator = true;
|
manipulator = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user