Compare commits
2 Commits
2772acee39
...
e40f70d16d
Author | SHA1 | Date | |
---|---|---|---|
|
e40f70d16d | ||
|
3b6fae08e4 |
@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./zsh.nix ./git.nix ./helix.nix ];
|
imports = [ ./fish.nix ./git.nix ./helix.nix ];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
27
roles/home/fish.nix
Normal file
27
roles/home/fish.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [ any-nix-shell fishPlugins.tide fishPlugins.bass ];
|
||||||
|
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
shellAbbrs = {
|
||||||
|
"_" = "sudo";
|
||||||
|
};
|
||||||
|
|
||||||
|
shellInit = ''
|
||||||
|
# avoid macOS updates to destroy nix
|
||||||
|
# if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||||
|
# source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||||
|
# end
|
||||||
|
|
||||||
|
any-nix-shell fish --info-right | source
|
||||||
|
# source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
|
|
||||||
|
# disable autosuggestions
|
||||||
|
set -g fish_autosuggestion_enabled 0
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user