summaryrefslogtreecommitdiffstats
path: root/config/sh/aliases
blob: fecd12a3925a6894f98dc168bd22cc18fc2a7b79 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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"
type forkprove >/dev/null 2>&1 && alias prove="forkprove"
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"
alias hearthstone="wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Hearthstone/Hearthstone.exe"
# }}}
# termcast {{{
alias tc="telnet termcast.org"
# }}}
# shells {{{
alias partofme='ssh doy@partofme'
alias tozt="ssh doy@tozt.net"
# }}}
# 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 vim=helix
alias pm="find lib -type f"
# alias v="vim --cmd 'let g:startify_disable_at_vimenter = 1' -c 'call feedkeys(\"t\")'"
alias v='helix "$(git ls-files | sk)"'
# alias g="vim --cmd 'let g:startify_disable_at_vimenter = 1' -c 'call feedkeys(\"ff\")'"
alias utc="env TZ=UTC date"
alias pd="perldoc"
alias pc="p | xclip -l 1"
alias svim="vim -i NONE -u NONE -U NONE --noplugin --cmd 'set noswapfile' --cmd 'set nobackup' --cmd 'set nomodeline' --cmd 'set noexrc'"
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"
# }}}

# vim:ft=sh:fdm=marker