mirror of
				https://github.com/oh-my-fish/theme-bobthefish.git
				synced 2025-06-13 13:03:54 +00:00 
			
		
		
		
	Merge pull request #51 from zaclimon/master
Add option to hide cmd duration
This commit is contained in:
		
						commit
						6dfabda323
					
				| @ -80,6 +80,7 @@ set -g theme_display_user yes | ||||
| set -g theme_display_vi yes | ||||
| set -g theme_display_vi_hide_mode default | ||||
| set -g theme_display_date no | ||||
| set -g theme_display_cmd_duration yes | ||||
| set -g theme_title_display_process yes | ||||
| set -g theme_title_display_path no | ||||
| set -g theme_title_use_abbreviated_path no | ||||
|  | ||||
| @ -2,6 +2,7 @@ | ||||
| #     set -g theme_date_format "+%a %H:%M" | ||||
| 
 | ||||
| function __bobthefish_cmd_duration -S -d 'Show command duration' | ||||
|   [ "$theme_display_cmd_duration" = "no" ]; and return | ||||
|   [ "$CMD_DURATION" -lt 100 ]; and return | ||||
| 
 | ||||
|   if [ "$CMD_DURATION" -lt 5000 ] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user