فهرست منبع

Always display git status on a second line

DricomDragon 4 سال پیش
والد
کامیت
38a9c53232
1فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 6
      Install/Templates/home/config/fish/functions/fish_prompt.fish

+ 2 - 6
Install/Templates/home/config/fish/functions/fish_prompt.fish

@@ -20,12 +20,8 @@ function fish_prompt --description 'Write out the prompt'
     echo -n (prompt_pwd)
     set_color normal
 
-	# Newline on tiny screens
-	if test $COLUMNS -lt 50
-		if git rev-parse --is-inside-work-tree &> /dev/null
-			echo
-		end
-	end
+    # Second line
+    echo
 
     __terlar_git_prompt
     __fish_hg_prompt