diff options
Diffstat (limited to 'common/fish.nix')
| -rw-r--r-- | common/fish.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/common/fish.nix b/common/fish.nix new file mode 100644 index 0000000..af2ca6f --- /dev/null +++ b/common/fish.nix @@ -0,0 +1,28 @@ +#Zsh configuration (imported in ./hm.nix) + +{ ... }: + +{ + programs.fish = { + enable = true; + shellAliases = { + ll = "ls -l"; + gs = "git status"; + nxrs = "sudo nixos-rebuild switch --flake ."; + nivm = "nvim"; + nimv = "nvim"; #wonder why these 2 exits + neofetch = "fastfetch"; + ga = "git add"; + gc = "git commit"; + gr = "git restore"; + ndw = "sudo nmcli device wifi"; #Nah terminal is all you need for wifi and bt + gti = "git"; #Typo final boss + }; + shellInit = '' + shuf -n 1 ~/.tips | cowsay + oh-my-posh init fish -c ~/.config/omp/catppuccin_mocha.json | source + ''; + }; + + home.file.".tips".source = ./tips; +} |
