Dotfiles/.bash_aliases

22 lines
832 B
Bash

alias weather="curl wttr.in/~Isle+of+Wight"
alias pubip="curl -4 icanhazip.com"
alias less="less -r"
[[ -f ~/.LESS_TERMCAP ]] && . ~/.LESS_TERMCAP
alias be="bundle exec"
alias checkport="sudo netstat -tnlp | grep"
alias de="devenv"
alias dockerpurge="docker system prune --all --force --volumes"
alias dockerkill="docker stop \`docker ps -a -q\`"
alias vi="nvim"
alias tp="$HOME/bin/tmux_pair.bash"
alias tpdf="termpdf.py"
alias tn="tmux new-window -n"
alias genpdf="pandoc -o migration.pdf -t ms"
CFLAGS="-Wall -Werror -Wextra"
alias cc="gcc ${CFLAGS}"
alias update_ruby_build="git -C "$(rbenv root)"/plugins/ruby-build pull"
alias irc="ssh kernighan -t tmux attach -t irc"
alias krc="kamal app exec -i --reuse 'bin/rails c'"
alias krd="kamal app exec -i --reuse 'bin/rails dbconsole'"
alias krb="kamal app exec -i --reuse 'bash'"