mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
Clear screen before move/copy
Quick fix for https://github.com/LukeSmithxyz/voidrice/pull/1437#issuecomment-2430008043
This commit is contained in:
parent
c43f390f07
commit
b7f2d796c9
@ -93,6 +93,7 @@ cmd delete ${{
|
||||
|
||||
cmd moveto ${{
|
||||
set -f
|
||||
clear
|
||||
dest=$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' "${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" | fzf --prompt 'Move to where? ' | sed 's|~|$HOME|')
|
||||
[ -z "$dest" ] && exit
|
||||
destpath=$(eval printf '%s' \"$dest\")
|
||||
@ -110,6 +111,7 @@ cmd moveto ${{
|
||||
|
||||
cmd copyto ${{
|
||||
set -f
|
||||
clear
|
||||
dest=$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' "${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" | fzf --prompt 'Copy to where? ' | sed 's|~|$HOME|')
|
||||
[ -z "$dest" ] && exit
|
||||
destpath=$(eval printf '%s' \"$dest\")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user