瀏覽代碼

.bashrc: change color of prompt

pull/1/head
10sr 13 年之前
父節點
當前提交
1bae35b780
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      .bashrc

+ 3
- 2
.bashrc 查看文件

@@ -158,7 +158,7 @@ prompt_function(){ # used by PS1
local cdef=""
else
local c1="\e[33m"
local c2="\e[32m"
local c2="\e[36m"
local cdef="\e[0m"
fi
local pwd=$(echo "${PWD}/" | sed -e "s:${HOME}:~:")
@@ -249,7 +249,8 @@ isdarwin(){
# for windose

winln(){
if [ $# -eq 0 ]; then
if [ $# -eq 0 ]
then
echo "usage: winln TARGET LINK_NAME"
echo "Create a link to TARGET with the name LINK_NAME (that is, TARGET must already exist)."
echo "About other features run 'junction'."


Loading…
取消
儲存