diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-18 13:33:56 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-18 13:33:56 +0200 |
commit | b55be80d322a320e067d1e2162e35a556f005afe (patch) | |
tree | ae02520e8ab2b0ad41e6171335a55cf82488e106 | |
parent | Renamed script to go faster (diff) | |
download | dotfiles-bsd-b55be80d322a320e067d1e2162e35a556f005afe.tar.gz dotfiles-bsd-b55be80d322a320e067d1e2162e35a556f005afe.tar.bz2 dotfiles-bsd-b55be80d322a320e067d1e2162e35a556f005afe.tar.xz dotfiles-bsd-b55be80d322a320e067d1e2162e35a556f005afe.tar.zst dotfiles-bsd-b55be80d322a320e067d1e2162e35a556f005afe.zip |
conveniant changes
-rw-r--r-- | .config/zsh/alias.zsh | 4 | ||||
-rwxr-xr-x | .local/bin/dmlog | 3 |
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'); } } |