commit 636b90b4632bbcd2ab9d03dc1d7776026f287d45
parent c363352b94898e76368d2e0921f9748c86ac64dd
Author: Luxferre <lux@ferre>
Date: Mon, 19 Feb 2024 16:36:55 +0200
fixed dtach behaviour on OpenBSD
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.aliases b/.aliases
@@ -5,7 +5,7 @@ alias ab=abduco
alias aba='abduco -A'
# dtach shortcut (for OpenBSD servers)
-alias dt='dtach -A /tmp/dsession $SHELL'
+alias dt='ENV="$HOME/.kshrc" dtach -A /tmp/dsession $SHELL'
# use on Alpine/OpenBSD
alias sudo=doas
diff --git a/.kshrc b/.kshrc
@@ -1,4 +1,4 @@
set -o emacs
HISTFILE="$HOME/.ksh_history"
HISTSIZE=5000
-. .aliases
+. "$HOME/.aliases"