1# vim: set filetype=fish sw=4 ts=4 et: 2 3set -g prompt_counter 0 4set -g prompt_counter_incr 0 5function fish_prompt 6 if test $prompt_counter_incr -eq 1 7 set -g prompt_counter (math $prompt_counter + 1) 8 set -g prompt_counter_incr 0 9 end 10 echo "prompt $prompt_counter>" 11end 12function fish_prompt_event --on-event fish_prompt 13 set -g prompt_counter_incr 1 14end 15 16set -g fish_greeting '' 17 18function fish_title 19end 20 21function _marker -d '_marker string - prints @MARKER:$string@' 22 echo "@MARKER:$argv[1]@" 23end 24