-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalias.sh
More file actions
37 lines (32 loc) · 1.14 KB
/
alias.sh
File metadata and controls
37 lines (32 loc) · 1.14 KB
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
#!/bin/env bash
echo " loading alias.sh"
# fixes the stdout is not tty error
[[ $(type -t node) == "alias" ]] && unalias node
# Misc
alias find='/usr/bin/find'
alias ll='ls -ltrh'
## tools
alias resource='source $HOME/.bashrc'
alias clean='node $DEVROOT/dev-tools/src/clean/index.js'
alias grefp='node $DEVROOT/dev-tools/src/grefplus'
alias branches='node $DEVROOT/dev-tools/src/branches'
alias nt='node $DEVROOT/dev-tools/src/node-tools'
alias yn='node $DEVROOT/dev-tools/src/yarn'
alias sp='node $DEVROOT/dev-tools/src/spawner'
alias scripts='node $DEVROOT/dev-tools/src/misc/scripts'
alias engines='node $DEVROOT/dev-tools/src/misc/engines -p "."'
# git
alias check-merge='checkmerge'
__git_complete gb _git_branch
alias gb='git --no-pager branch -v --sort=committerdate'
alias gclean='git reset -q --hard && git clean -fd;git status'
alias gcm='git commit'
__git_complete gco _git_checkout
alias gco='git checkout'
alias gl='gitlog'
alias glp='gitlogp'
alias gsl='git stash list --date=local'
alias gst='git status'
alias gtemp='git commit --no-gpg-sign --no-verify -am "temp"'
alias pull='git pull'
alias stash-all='git stash save --include-untracked'