Dotfiles/.bash_aliases

22 lines
832 B
Bash
Raw Permalink Normal View History

2023-11-10 15:44:13 +00:00
alias weather="curl wttr.in/~Isle+of+Wight"
alias pubip="curl -4 icanhazip.com"
alias less="less -r"
[[ -f ~/.LESS_TERMCAP ]] && . ~/.LESS_TERMCAP
2023-11-20 14:24:20 +00:00
alias be="bundle exec"
2023-11-10 15:44:13 +00:00
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"
2024-02-08 09:38:17 +00:00
CFLAGS="-Wall -Werror -Wextra"
alias cc="gcc ${CFLAGS}"
alias update_ruby_build="git -C "$(rbenv root)"/plugins/ruby-build pull"
2024-02-26 13:46:57 +00:00
alias irc="ssh kernighan -t tmux attach -t irc"
2024-04-30 07:49:51 +00:00
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'"