LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 600|回复: 3

请问mrxvt如何以shell的方式打开?

[复制链接]
发表于 2004-11-12 23:51:13 | 显示全部楼层 |阅读模式
也就是说希望在mrxvt里面先前在~/.bash_profile里规定的仍然有效?
如 la='ls -a'
:thank
发表于 2004-11-13 00:11:06 | 显示全部楼层
就 SLK 的不行吧

Debian 里都可以


试试写在
~/.profile
 楼主| 发表于 2004-11-13 03:22:18 | 显示全部楼层
晕!
原来只有在~/.bashrc中才能起效。
给大家作参考:
~/.bashrc中应包含以下内容:
export LANG=en_US (此行不是必须的,不过添加这一行mc用起来狠爽)
alias  ls='ls --color=auto'
alias  la='ls -a'
alias  ll='ls -la'

~/.bash_profile中加上
source ~/.bashrc

~/.bashrc中的 $PS1要重新定义的。:%
发表于 2004-11-13 08:48:33 | 显示全部楼层
jia@hua:~$ alias
alias l='ls --color'
alias ll='ls -lh --color'
alias v='ls -lha --color'
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表