forked from anishathalye/dotfiles_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtouchbar-config.yaml
43 lines (43 loc) · 1.06 KB
/
touchbar-config.yaml
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
default_view: os
views:
os:
1:
text: Copy pwd 👉
command: pwd|tr -d "\\n" |pbcopy
2:
text: ll
command: ll
3:
text: lr
command: lr
4:
text: FFS
command: sudo $(fc -ln -1)
5:
text: vi 👈
command: vi $(pbpaste)
6:
text: 💫 Git Commands
view: git
git:
1:
text: Add 👈
command: ga $(pbpaste)
2:
text: Add all
command: gaa
3:
text: Commit
command: gcmsg $(vared -p 'Commit message? ' -c cmsg; echo $cmsg; unset $cmsg)
4:
text: Push
command: gp
5:
text: Pull
command: gl
6:
text: New branch 👈
command: git checkout -b $(vared -p 'Commit message? ' -c branch; echo $branch) && git push -u origin $branch && unset branch
7:
text: 💫 Path commands
view: os