reformatting

This commit is contained in:
notgne2 2021-11-10 03:59:44 -07:00
parent 47f0cd1be2
commit 7f59c589a7
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
5 changed files with 226 additions and 215 deletions

View file

@ -33,46 +33,46 @@ inputs:
home.sessionVariables = { TERM = "xterm-256color"; };
programs.fish = {
enable = true;
shellAliases = {
ls = "lsd";
la = "ls -a";
lla = "ls -la";
lt = "ls --tree";
};
plugins = [
{
name = "done";
src = inputs.done;
}
{
name = "bobthefish";
src = inputs.bobthefish;
}
];
shellInit = ''
# Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere)
if not set -q NIX_PATH
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
set -e fish_function_path[1]
end
'';
interactiveShellInit = ''
set TERM xterm-256color
set -U __done_min_cmd_duration 2000
set -Ua fish_user_paths ~/.bin
set -Ua fish_user_paths ~/.local/bin
set -Ua fish_user_paths ~/.npm-global/bin
set -Ua fish_user_paths ~/.cargo/bin
set -U fish_key_bindings fish_default_key_bindings
set -g theme_nerd_fonts yes
set -g theme_display_date no
eval (${pkgs.direnv}/bin/direnv hook fish)
'';
enable = true;
shellAliases = {
ls = "lsd";
la = "ls -a";
lla = "ls -la";
lt = "ls --tree";
};
plugins = [
{
name = "done";
src = inputs.done;
}
{
name = "bobthefish";
src = inputs.bobthefish;
}
];
shellInit = ''
# Load nix shit on non-NixOS computers (yea yea laugh it up we all have legacy machines somewhere)
if not set -q NIX_PATH
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
set -e fish_function_path[1]
end
'';
interactiveShellInit = ''
set TERM xterm-256color
set -U __done_min_cmd_duration 2000
set -Ua fish_user_paths ~/.bin
set -Ua fish_user_paths ~/.local/bin
set -Ua fish_user_paths ~/.npm-global/bin
set -Ua fish_user_paths ~/.cargo/bin
set -U fish_key_bindings fish_default_key_bindings
set -g theme_nerd_fonts yes
set -g theme_display_date no
eval (${pkgs.direnv}/bin/direnv hook fish)
'';
};
}