summaryrefslogtreecommitdiff
path: root/.shinit
diff options
context:
space:
mode:
Diffstat (limited to '.shinit')
-rw-r--r--.shinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.shinit b/.shinit
index 342a2e01..2ee29f95 100644
--- a/.shinit
+++ b/.shinit
@@ -10,6 +10,9 @@ ls --version 2>/dev/null | grep -q "GNU coreutils" \
grep --version 2>/dev/null | grep -q "GNU grep" \
&& alias grep="grep --color=auto"
+alias doas="doas "
+alias sudo="sudo "
+
alias e="$EDITOR"
alias d="emacsclient -te '(dired \".\")'"
alias ta="tmux new-session -A -s default -c ~"
@@ -28,6 +31,7 @@ alias arsync="rsync -aSHAXc --partial --numeric-ids --info=progress2"
alias axrsync="rsync -aSHAXxc --partial --numeric-ids --info=progress2"
# To have a terminal emulator exit upon remote tmux detach, like my C-i s.
alias sshta="exec ssh-and-tmux"
+alias pdd="dd bs=4M status=progress conv=fdatasync"
upenv () {
# don't want to do this outside of tmux as then tmux show-environment will