bash/.bashrc.d/90-aliases.bash (view raw)
1alias vime="vim ~/.vimrc"
2alias o="xdg-open"
3alias gc="git commit -v -S"
4alias gst="git status --short"
5alias ga="git add"
6alias gd="git diff --minimal"
7alias gl="git log --oneline --decorate --graph"
8alias vim="nvim"
9
10nvmon() {
11 source ~/.nvm/nvm.sh
12}
13
14envac() {
15 source .env/bin/activate
16}
17
18vpn() {
19 ~/bin/vpnon.sh
20}
21
22dt() {
23 time.sh -n
24}
25
26ggp() {
27 git push "$(git remote show)" "$(git branch --show-current)"
28}
29
30
31ls() {
32 case "$OSTYPE" in
33 "darwin"*)
34 /bin/ls -G "$@"
35 ;;
36 *"bsd"*)
37 colorls -G "$@"
38 ;;
39 esac
40}
41
42m() {
43 case "$OSTYPE" in
44 "darwin"*)
45 s-nail "$@"
46 ;;
47 *"bsd"*)
48 nail "$@"
49 ;;
50 esac
51}