From bb7cddc1136604a2947d8a8941fd16b0a7fddf5e Mon Sep 17 00:00:00 2001 From: evanchen Date: Wed, 13 Sep 2023 05:03:16 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Scripts/bash=5Faliases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/bash_aliases | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Scripts/bash_aliases b/Scripts/bash_aliases index 1e75829..2a66b78 100644 --- a/Scripts/bash_aliases +++ b/Scripts/bash_aliases @@ -49,11 +49,6 @@ acp(){ } -export LSCOLORS="gxfxcxdxbxegedabagacad" -export CLICOLOR=1 -export TERM="xterm-256color" -PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\033[01;34m\]\w\[\033[00m\]$(git_info)\[\033[00m\]\n\[\033[1;31m\]\$ \[\033[00m\]' - # functions function git_info { ref=$(git symbolic-ref HEAD 2> /dev/null) || return; @@ -79,4 +74,9 @@ function git_info { echo " ($(tput bold)${ref#refs/heads/}$uc$us$ut$st$(tput sgr0)$(tput setaf 254))"; # echo "(${ref#refs/heads/})"; -} \ No newline at end of file +} + +export LSCOLORS="gxfxcxdxbxegedabagacad" +export CLICOLOR=1 +export TERM="xterm-256color" +PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\033[01;34m\]\w\[\033[00m\]$(git_info)\[\033[00m\]\n\[\033[1;31m\]\$ \[\033[00m\]' \ No newline at end of file