config.fish 575 B

1234567891011121314151617181920212223242526272829303132
  1. #!/usr/bin/fish
  2. # Jien's fishrc.
  3. # No greeting when starting an interactive shell.
  4. function fish_greeting
  5. end
  6. # Left prompt.
  7. function fish_prompt --description "Write out the prompt"
  8. echo -n $SHPROMPT
  9. end
  10. # Easy quit.
  11. function q
  12. echo $SHLVL - 1 | bc
  13. exit
  14. end
  15. # Right prompt.
  16. function fish_right_prompt
  17. # Fuck this.
  18. end
  19. set -l color_cwd
  20. set -l suffix
  21. # Colors
  22. set fish_color_comment yellow
  23. set fish_color_error grey
  24. set fish_color_operator $color_cwd
  25. set fish_color_autosuggestion "brgrey"
  26. set fish_color_command "--bold"