summaryrefslogtreecommitdiffstats
path: root/sh/.config/sh/aliases
blob: c5b716f5dd662d622db66e5f9a1e743f31c02124 (plain) (blame)
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
# improvements to common commands {{{
alias ls="exa --group-directories-first --time-style=long-iso --git --color-scale"
alias ll="ls -l"
alias grep="grep --color=auto"
alias rm="rm -i"
alias cp="cp -i"
alias mv="mv -i"
alias bc="bc -lq"
alias hx="helix"
type tput >/dev/null 2>&1 && alias reset="tput reset"
# }}}
# games {{{
alias nao="ssh nethack@alt.org"
alias cao="env TERM=screen-256color /usr/bin/ssh -C -i \$HOME/.ssh/cao_key joshua@crawl.akrasiac.org"
alias cdo="ssh -C -i \$HOME/.ssh/cao_key crawl@crawl.develz.org"
# }}}
# tmux sessions {{{
alias main='tmux new -As main'
alias chat='tmux new -As chat'
alias work='tmux new -As work'
alias docs='tmux new -As docs'
alias misc='tmux new -As misc'
# }}}
# other {{{
alias utc="env TZ=UTC date"
alias pc="p | xclip -l 1"
alias wifi="sudo systemctl restart iwd"
alias debian="podman run --rm -itv "${HOME}:${HOME}" docker.io/debian:stable bash"
alias ubuntu="podman run --rm -itv "${HOME}:${HOME}" docker.io/ubuntu:latest bash"
alias alpine="podman run --rm -itv "${HOME}:${HOME}" docker.io/alpine:latest sh"
alias arch="podman run --rm -itv "${HOME}:${HOME}" docker.io/archlinux:latest sh"
alias cdu="cd \"\$(git root)\""
# }}}

# vim:ft=sh:fdm=marker