switched to fish
oh-my-fish/theme-agnoster has issues on nix so i forked it and am working on fixing it, for now i have it in a state where the annoying thing doesnt happen, and this means i have the same functionality actually better because the autocomplete and syntax highlighting is much nicer fish ftw
This commit is contained in:
parent
661356a198
commit
ff65efd702
6 changed files with 43 additions and 63 deletions
35
home-manager/fish.nix
Normal file
35
home-manager/fish.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
generateCompletions = true;
|
||||
shellAliases = {
|
||||
ls = "eza -lh";
|
||||
ip = "ip --color=auto";
|
||||
nano = "nvim";
|
||||
cd = "z";
|
||||
cat = "bat";
|
||||
|
||||
# Aliases for my nixos workflow
|
||||
nixos-switch = "sudo nixos-rebuild switch --flake ~/nixconf &| nom";
|
||||
home-switch = "home-manager switch --flake ~/nixconf &| nom";
|
||||
server-switch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo &| nom";
|
||||
};
|
||||
shellInit = "
|
||||
set --global --export theme_virtual_env_prompt_enabled no
|
||||
set --global --export VIRTUAL_ENV_DISABLE_PROMPT 1
|
||||
set --global --export theme_env_packages_hide binutils-wrapper hyprland-qtutils pciutils pkgconf-wrapper
|
||||
";
|
||||
plugins = [
|
||||
{
|
||||
name = "agnoster";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "IBeTheBlueCat";
|
||||
repo = "theme-agnoster";
|
||||
rev = "c6b1e6b5671f75d30d2d81a11963ef445e78d8e6";
|
||||
hash = "sha256-hO5ow+7nBqFeXWj8sjd6whuSYqsKYCpvcINU6zpAzsU=";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue