Cmder 配置

Cmder 配置

使用 Bash

配置

D:\cmder\config\user_profile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 别名
#打开当前文件夹
alias e.='explorer .'
alias ls='ls --show-control-chars -F --color $*'
alias clear=cls
alias gl='git pull origin $1'
alias glm='git pull origin master'
alias gp='git push origin $1'
alias gpm='git push origin master'
alias cpd='cap production deploy'
alias cpt='cap staging deploy'


# Git Commit, Add all and Push — in one step.
function gcap() {
git add . && git commit -m "$*" && git push
}

# NEW.
function gnew() {
gcap "📦 NEW: $@"
}

# IMPROVE.
function gimp() {
gcap "👌 IMPROVE: $@"
}

# FIX.
function gfix() {
gcap "🐛 FIX: $@"
}

# RELEASE.
function grlz() {
gcap "🚀 RELEASE: $@"
}

# DOC.
function gdoc() {
gcap "📖 DOC: $@"
}

# TEST.
function gtst() {
gcap "✅ TEST: $@"
}

  LinuxWin

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×