个人配置设置

服务器个人账户偏好设置:

服务器环境配置文件.cshrc

alias cd 'cd \!* ; ls ;set prompt="`/bin/pwd`>"'
效果 cd 可以有层次效果
编辑器vimrc 习惯设置.vimrc
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8	"设置编码
set encoding=utf-8
set nu                              "显示行号
set number						
set cursorline					"突出显示当前行
set mouse=a					"启用鼠标
set selection=exclusive
set selectmode=mouse,key
set showmatch				“显示括号匹配
set tabstop=4					"设置Tab长度为4空格
set shiftwidth=4				"设置自动缩进长度为4空格
set autoindent					"继承前一行的缩进方式,适用于多行注释
set paste							"设置黏贴模式
set listchars=tab:>-,trail:-		"粘贴不会畸形
set laststatus=2				"总是显示状态栏
set ruler							"显示光标当前位置

autocmd BufWritePost $MYVIMRC source $MYVIMRC		"让vimrc配置变更立即生效

set nocompatible     "close compatible with vi
set history=50	     "keep 50 lines of command line history
set backspace=indent,eol,start
set expandtab "expand tab to space, or `set noexpandtab' to ignore
set showcmd	     "display incomplete commands
set incsearch	     "do incremental searching
set ignorecase smartcase
set hlsearch
syntax on
filetype on
filetype plugin on
filetype indent on
set nowrap 
colorscheme desert   "~/.vim/colors/desert.vim
set guifont=Monospace\ 13
set tags=./tags
================
bashrc 版本
export PATH
export PS1='[\u@\h $PWD]\$'

alias cd=cdls
function cdls()
{
    builtin cd "$1" && ls
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值