2017-03-10 10:42:12 +00:00
|
|
|
# General
|
2020-09-12 07:58:04 +00:00
|
|
|
alias ll="ls -lAFh --color"
|
2019-08-30 10:40:25 +00:00
|
|
|
alias dedup="awk '!visited[$0]++'"
|
2017-03-10 10:42:12 +00:00
|
|
|
|
|
|
|
# Git
|
|
|
|
alias ga="git add -u; git add .; git status -sb"
|
|
|
|
alias gb="git branch -v"
|
2019-08-30 10:40:25 +00:00
|
|
|
alias gc="git ci --allow-empty -m"
|
2017-03-10 10:42:12 +00:00
|
|
|
alias gd="git diff"
|
|
|
|
alias gdc="git diff --cached"
|
|
|
|
alias gl="git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) %C(bold
|
|
|
|
green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
|
|
|
|
alias gp="git push"
|
|
|
|
alias gs="git status -sb"
|
|
|
|
alias gu="git up"
|
|
|
|
alias gcl="git co -"
|
2017-10-05 11:17:39 +00:00
|
|
|
alias gml="git merge - --no-edit"
|
2017-03-10 10:42:12 +00:00
|
|
|
|
|
|
|
# Ruby
|
2020-09-12 07:58:04 +00:00
|
|
|
alias bd="bundle install --jobs=8"
|
|
|
|
alias bdc="bundle config set path 'vendor/bundle'"
|
2019-08-30 10:40:25 +00:00
|
|
|
alias b="bundle exec"
|
|
|
|
alias br="bundle exec rails"
|
2017-03-10 10:42:12 +00:00
|
|
|
|
|
|
|
# Go
|
|
|
|
alias goi="go install ./..."
|
2019-08-30 10:40:25 +00:00
|
|
|
alias gg='rg -g "*.go"'
|
2021-04-23 22:26:43 +00:00
|
|
|
|
|
|
|
alias ytdl="youtube-dl -f 'bestvideo+bestaudio'"
|
|
|
|
alias cr="cargo run --quiet --"
|
|
|
|
|