Browse Source

.bashrc: add alias destroy and git alias di as diff

pull/1/head
10sr 13 years ago
parent
commit
8fb4c968fd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      .bashrc

+ 2
- 0
.bashrc View File

@@ -43,6 +43,7 @@ alias ut="slogin t110414@un001.ecc.u-tokyo.ac.jp"
alias rand="echo \$RANDOM" alias rand="echo \$RANDOM"
alias xunp="file-roller -h" alias xunp="file-roller -h"
alias pacome="sudo \paco -D" alias pacome="sudo \paco -D"
alias destroy="rm -rf"
# type trash >/dev/null 2>&1 && alias rm=trash # type trash >/dev/null 2>&1 && alias rm=trash


gitls(){ gitls(){
@@ -139,6 +140,7 @@ _mygitconfig(){
git config --global alias.ci "commit --verbose" git config --global alias.ci "commit --verbose"
git config --global alias.co "checkout" git config --global alias.co "checkout"
git config --global alias.cm "commit --verbose -m" git config --global alias.cm "commit --verbose -m"
git config --global alias.di "diff"
git config --global alias.ls "!git ls-files | xargs ls -CFG --color=auto --time-style=long-iso" git config --global alias.ls "!git ls-files | xargs ls -CFG --color=auto --time-style=long-iso"
git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
} }


Loading…
Cancel
Save