about summary refs log tree commit diff
path: root/nix/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-09-13 08:57:35 -0700
committerFranck Cuny <franck@fcuny.net>2024-09-13 08:57:35 -0700
commitbd3eae44bb8da992629d28942450bcf26c456627 (patch)
tree0076a7c0020e6bb4aa1c8ad20d6fed4e05c0fb56 /nix/profiles
parentwatch for changes to the devshell configuration (diff)
downloadworld-bd3eae44bb8da992629d28942450bcf26c456627.tar.gz
just use the default fish setup
Diffstat (limited to 'nix/profiles')
-rw-r--r--nix/profiles/home-manager/fish.nix36
1 files changed, 0 insertions, 36 deletions
diff --git a/nix/profiles/home-manager/fish.nix b/nix/profiles/home-manager/fish.nix
index 2ea90d9..5a2610c 100644
--- a/nix/profiles/home-manager/fish.nix
+++ b/nix/profiles/home-manager/fish.nix
@@ -4,41 +4,5 @@
     interactiveShellInit = ''
       set fish_greeting ""
     '';
-    shellInit = ''
-      # Fish git prompt
-      set __fish_git_prompt_showuntrackedfiles 'yes'
-      set __fish_git_prompt_showdirtystate 'yes'
-      set __fish_git_prompt_showstashstate \'\'
-      set __fish_git_prompt_showupstream 'none'
-      set -g fish_prompt_pwd_dir_length 3
-
-      # colored man output
-      # from http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/
-      setenv LESS_TERMCAP_mb \e'[01;31m'       # begin blinking
-      setenv LESS_TERMCAP_md \e'[01;38;5;74m'  # begin bold
-      setenv LESS_TERMCAP_me \e'[0m'           # end mode
-      setenv LESS_TERMCAP_se \e'[0m'           # end standout-mode
-      setenv LESS_TERMCAP_so \e'[38;5;246m'    # begin standout-mode - info box
-      setenv LESS_TERMCAP_ue \e'[0m'           # end underline
-      setenv LESS_TERMCAP_us \e'[04;38;5;146m' # begin underline
-
-      function fish_prompt
-        set_color brblack
-        echo -n "["(date "+%H:%M")"] "
-        set_color blue
-        echo -n (hostname -s)
-        if [ $PWD != $HOME ]
-          set_color brblack
-          echo -n ':'
-          set_color yellow
-          echo -n (basename $PWD)
-        end
-        set_color green
-        printf '%s ' (__fish_git_prompt)
-        set_color red
-        echo -n '| '
-        set_color normal
-      end
-    '';
   };
 }