Babun, Great Windows Shell
来源:互联网 发布:微博发淘宝客链接 编辑:程序博客网 时间:2024/06/06 16:28
-- git status different with git bash
executing git config --global core.autocrlf true in babun should fix your problem
-- how to set shortkey
in .zshrc
alias ..="cd .."alias ...="cd ../.."alias ....="cd ../../.."alias .....="cd ../../../.."alias ......="cd ../../../../.."alias lo="cd /e/Wnmp/html/lot/"-- install packagepack install chere-- set proxyexport http_proxy=http://user:password@server:portexport http_proxy=http://127.0.0.1:1080--change themehttps://www.sorendam.com/take-control-of-your-console-in-windows-with-babun-oh-my-zsh-and-powerline-fonts/--auto ssh to hostssh-keygen -t rsa -C 'your email@domain.com'
scp ~/.ssh/id_rsa.pub username@hostname:~/#将公钥文件复制至ssh服务器ssh username@hostname#使用用户名和密码方式登录至ssh服务器mkdir .ssh #若.ssh目录已存在,可省略此步cat id_rsa.pub >> .ssh/authorized_keys #将公钥增加到文件尾
vim ~/.ssh/config #若没有该文件,直接新建即可
添加文件内容格式如下:
Host shortnameHostName 101.....User rootIdentityFile ~/.ssh/id_rsa
Host alias#自定义别名
HostName hostname #替换为你的ssh服务器ip或domain
Port port #ssh服务器端口,默认为22
User user #ssh服务器用户名
IdentityFile ~/.ssh/id_rsa #第一个步骤生成的公钥文件对应的私钥文件
if permission error
chmod 600 id_rsa
--change vim tmp file location
First of all, create these three folders:
mkdir ~/.vim/.backup ~/.vim/.swp ~/.vim/.undo
Now, put these lines in your vimrc file.
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
0 0
- Babun, Great Windows Shell
- Babun,一个开箱即用的 Windows Shell
- Windows搭建虚拟开发环境(VirtualBox+Vagrant+Babun)
- 【利器】在Windows上使用Babun进行linux开发工作
- Great Windows 7
- Shell:value too great for base
- sygwin 及 babun
- Linux Shell 进制错误 - value too great for base
- Linux Shell 进制错误 - value too great for base
- windows shell
- Great worker, Great work
- SHELL脚本报错:value too great for base (error token is "00000001830")
- Windows Shell编程-第一章.Windows Shell是什么
- 下一代Windows Shell
- Windows Shell 编程
- windows shell program(1)
- windows shell program(2)
- windows shell program(3)
- strong/weak/assign/copy/retain
- LeetCode 117:Populating Next Right Pointers in Each Node II
- 【Golang】【 Network programming with Go】 Templates(模版)
- 第一次写就打算给博客定一个主基调吧
- ARC/非ARC的设置
- Babun, Great Windows Shell
- 查看LInux内核版本的命令
- [看书日记20151231]属性动画工作原理, 性能优化 & 对12月的感想
- 22,23?
- oracle 数据库收费标准
- 喷水装置(二)(南阳oj12)(贪心之区间覆盖问题)
- centos6.4安装搭建pptp vpn服务
- 使用cout输出两位小数
- leetcode 101: Symmetric Tree