forked from ma6174/vim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name Here
committed
Aug 27, 2012
1 parent
2b980b9
commit 640abdb
Showing
3 changed files
with
37 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,7 +232,7 @@ bindkey "\e\e" sudo-command-line | |
#命令别名 {{{ | ||
alias cp='cp -i' | ||
alias mv='mv -i' | ||
alias rm='rm -i' | ||
alias rm='rm -i -f' | ||
alias ls='ls -F --color=auto' | ||
alias ll='ls -al' | ||
alias grep='grep --color=auto' | ||
|
@@ -243,6 +243,9 @@ alias p3='python3' | |
alias y='yaourt' | ||
alias h='htop' | ||
alias vim='sudo vim' | ||
alias sshacm='ssh [email protected]' | ||
alias sshsys='ssh [email protected] -X' | ||
alias l='ls' | ||
|
||
#[Esc][h] man 当前命令时,显示简短说明 | ||
alias run-help >&/dev/null && unalias run-help | ||
|
@@ -254,10 +257,9 @@ alias top10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10' | |
|
||
#路径别名 {{{ | ||
#进入相应的路径时只要 cd ~xxx | ||
hash -d A="/media/ayu/dearest" | ||
hash -d H="/media/data/backup/ayu" | ||
hash -d E="/etc/" | ||
hash -d D="/home/ayumi/Documents" | ||
hash -d y='/home/yunio/' | ||
hash -d p='/home/ma6174/yunio/program' | ||
#}}} | ||
|
||
##for Emacs {{{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters