summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/alias.zsh4
-rwxr-xr-x.local/bin/dmlog3
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index e3318bd..ccdc623 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -84,7 +84,7 @@ alias \
vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \
v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \
tohex='printf "0x%x\n"'
-vimbin() {
+ebin() {
p=$(pwd)
cd "$HOME"/.local/bin || return
sc=$(fzf --preview='head -$FZF_PREVIEW_LINES {}')
@@ -95,7 +95,7 @@ vimbin() {
${VISUAL} $sc
cd $p
}
-vimconf() {
+econf() {
p=$(pwd)
cd "$HOME"/.config || return
sc=$(fzf --preview='head -$FZF_PREVIEW_LINES {}')
diff --git a/.local/bin/dmlog b/.local/bin/dmlog
index 5d9abc8..51edb8a 100755
--- a/.local/bin/dmlog
+++ b/.local/bin/dmlog
@@ -73,8 +73,9 @@ sub action
'-u',
'normal',
'shutdown',
- 'Farwell, partner!'
+ ' Farwell, partner!'
);
+ sleep 2;
exec(SHUTDOWN_PATH, '-p', 'now');
}
}