-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
33 lines (23 loc) · 957 Bytes
/
.bash_aliases
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
commit () { git commit -am "${1}" && git push; }
fixes () { git commit -am "fixes #${1}" && git push; }
alias a=alias
a issues="gh issue list"
a issue="gh issue create"
a enhancement="gh issue create -l enhancement -b '' -t"
a bug="gh issue create -l bug -b '' -t"
a breaking="gh issue create -l breaking -b '' -t"
# a note="gh issue -R charlesvardeman/notes create"
alias gitssh="perl -pi -e 's#https://github\.com/#git\@github.com:# if /\[remote \"origin/../fetch =/' .git/config"
# a minst="mamba install -c defaults"
a grep='grep --color=auto --exclude-dir={.git}'
a ll='ls -lrth'
a la='ls -lrthA'
a l='ls -CF'
a tmux="tmux -u"
# View syntax-highlighted files in the current directory, live-filtered by fzf.
a v='fzf --preview "bat --color \"always\" --theme GitHub {}"'
# Save three keystrokes to go up a directory
alias ..="cd .."
a cv="cd $HOME/dev/git/charlesvardeman"
a la3d="cd $HOME/dev/git/LA3D"
a crc=" cd $HOME/dev/git/crcresearch"