summaryrefslogtreecommitdiff
path: root/common/programs/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/programs/fish.nix')
-rw-r--r--common/programs/fish.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/programs/fish.nix b/common/programs/fish.nix
new file mode 100644
index 0000000..8814a12
--- /dev/null
+++ b/common/programs/fish.nix
@@ -0,0 +1,30 @@
+{
+ pkgs,
+ ...
+}:
+{
+ programs.fish.enable = true;
+
+ home.packages = with pkgs; [
+ fzf
+ pay-respects
+ ];
+
+ programs.fish = {
+ interactiveShellInit =
+ #fish
+ ''
+ function fish_mode_prompt
+ end
+ set -g fish_greeting ""
+ fish_vi_key_bindings
+ set -U fish_color_user blue
+ set -U fish_color_host normal
+ set -U fish_color_cwd blue
+
+ pay-respects fish | source
+
+ alias fuck='f'
+ '';
+ };
+}