-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaliases.fish
36 lines (30 loc) · 864 Bytes
/
aliases.fish
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
#!/bin/env bash
alias ..='cd ../'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
alias .......='cd ../../../../../../'
alias ls='ls --color=auto'
alias ll='ls -l'
alias la='ls -lA'
alias l='ls -CF'
# Git aliases
alias gs='git status'
alias gd='git diff'
alias gp='git push'
alias gc='git commit -m'
alias ga='git add'
alias gl='git pull'
alias gaa='git add -A'
alias gco='git checkout'
alias gir='echo "GRRRRR TYPOS 🤓" && git'
# Other aliases
alias da='direnv allow'
# Go aliases
alias gmt='go mod tidy'
alias gtc='go test -cover -race'
alias gv='go vet'
alias glci='golangci-lint run --fix -c .golangci.json'
alias gocov='go test -coverprofile=coverage.out ./... && go tool cover -html=coverage.out'
alias updatekitty='curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin'