shnulaa
Never deter till tomorrow that which you can do today
posts - 15, comments - 0, trackbacks - 0, articles - 2
BlogJava
::
首頁
::
新隨筆
::
聯系
::
聚合
::
管理
putty 的配色方案
Posted on 2010-09-29 13:18
shnulaa
閱讀(1599)
評論(0)
編輯
收藏
所屬分類:
linux
因為putty的默認配色方案導致文件夾的藍顏色看得不清楚,所以有必要修改一下默認的配色方案。
修改用戶根目錄下的.bashrc文件
1
#
~/.bashrc: executed by bash(1) for non-login shells.
2
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
3
# for examples
4
5
# If not running interactively, don't do anything
6
[
-
z
"
$PS1
"
]
&&
return
7
8
#
don't put duplicate lines in the history. See bash(1) for more options
9
#export HISTCONTROL=ignoredups
10
11
# check the window size after each command and, if necessary,
12
# update the values of LINES and COLUMNS.
13
shopt
-
s checkwinsize
14
15
#
make less more friendly for non-text input files, see lesspipe(1)
16
[
-x
/
usr
/
bin
/
lesspipe ]
&&
eval
"
$(lesspipe)
"
17
18
#
set variable identifying the chroot you work in (used in the prompt below)
19
if
[
-
z
"
$debian_chroot
"
-
a
-
r
/
etc
/
debian_chroot ]; then
20
debian_chroot
=
$(cat
/
etc
/
debian_chroot)
21
fi
22
23
#
set a fancy prompt (non-color, unless we know we "want" color)
24
case
"
$TERM
"
in
25
xterm
-
color)
26
PS1
=
'
${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
'
27
;;
28
*
)
29
PS1
=
'
${debian_chroot:+($debian_chroot)}\u@\h:\w\$
'
30
;;
31
esac
32
33
#
Comment in the above and uncomment this below for a color prompt
34
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
35
36
# If this is an xterm set the title to user@host:dir
37
case
"
$TERM
"
in
38
xterm
*|
rxvt
*
)
39
PROMPT_COMMAND
=
'
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"
'
40
;;
41
*
)
42
;;
43
esac
44
45
#
Alias definitions.
46
# You may want to put all your additions into a separate file like
47
# ~/.bash_aliases, instead of adding them here directly.
48
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
49
50
#if [ -f ~/.bash_aliases ]; then
51
# . ~/.bash_aliases
52
#fi
53
54
# enable color support of ls and also add handy aliases
55
if
[
"
$TERM
"
!=
"
dumb
"
]; then
56
eval
"
`dircolors -b`
"
57
alias ls
=
'
ls --color=auto
'
58
#
alias dir='ls --color=auto --format=vertical'
59
#alias vdir='ls --color=auto --format=long'
60
fi
61
62
#
some more ls aliases
63
#alias ll='ls -l'
64
#alias la='ls -A'
65
#alias l='ls -CF'
66
67
# enable programmable completion features (you don't need to enable
68
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
69
# sources /etc/bash.bashrc).
70
#if [ -f /etc/bash_completion ]; then
71
# . /etc/bash_completion
72
#fi
73
1
source
.
bashrc
顯示效果
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關文章:
一個比較不錯的linux學習網站
putty 的配色方案
ssh
Powered by:
BlogJava
Copyright © shnulaa
日歷
<
2010年9月
>
日
一
二
三
四
五
六
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
公告
常用鏈接
我的隨筆
我的評論
我的參與
留言簿
給我留言
查看公開留言
查看私人留言
隨筆分類
java(7)
linux(3)
maven(1)
隨筆檔案
2012年6月 (2)
2011年4月 (1)
2010年9月 (12)
文章檔案
2012年6月 (2)
sd
http://geniusman.co.cc/
http://geniusman.co.cc/
http://shnulaa.68480.net/
http://shnulaa.68480.net/
shnulaa
shnulaa
shnulaa
shnulaa
搜索
積分與排名
積分 - 4514
排名 - 3178
最新評論
閱讀排行榜
1.?putty 的配色方案(1599)
2.?jsp web shell(284)
3.?關于持續集成的問題(276)
4.?cmd5(239)
5.?http://geniusman.co.cc/http://geniusman.co.cc/(229)
評論排行榜
1.?http://geniusman.co.cc/http://geniusman.co.cc/(0)
2.?sss(0)
3.?一個比較不錯的linux學習網站(0)
4.?putty 的配色方案(0)
5.?關于持續集成的問題(0)
主站蜘蛛池模板:
青青青亚洲精品国产
|
中国在线观看免费的www
|
国产一级淫片a视频免费观看
|
亚洲aⅴ天堂av天堂无码麻豆
|
亚洲日韩中文字幕日韩在线
|
久久99精品国产免费观看
|
亚洲av午夜精品无码专区
|
男人的天堂亚洲一区二区三区
|
77777亚洲午夜久久多喷
|
国产免费观看黄AV片
|
久久免费视频观看
|
亚洲精华液一二三产区
|
亚洲日韩中文字幕在线播放
|
免费99精品国产自在现线
|
一级毛片人与动免费观看
|
亚洲人成高清在线播放
|
国产福利电影一区二区三区,亚洲国模精品一区
|
一区二区在线视频免费观看
|
亚洲精品在线播放视频
|
全黄a免费一级毛片人人爱
|
在线观看www日本免费网站
|
无码 免费 国产在线观看91
|
亚洲欧洲自拍拍偷午夜色
|
国产精品亚洲综合一区
|
蜜桃视频在线观看免费网址入口
|
精品无码国产污污污免费网站国产
|
亚洲午夜成激人情在线影院
|
亚洲视频一区二区
|
免费理论片51人人看电影
|
99在线视频免费
|
国产视频精品免费视频
|
亚洲欧美熟妇综合久久久久
|
亚洲精品高清视频
|
亚洲午夜久久久久妓女影院
|
国产精品美女自在线观看免费
|
最近免费字幕中文大全视频
|
ww在线观视频免费观看w
|
亚洲avav天堂av在线网毛片
|
久久久久亚洲AV无码观看
|
国产亚洲美女精品久久久久狼
|
四虎影永久在线高清免费
|