mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01: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 ${{
|
cmd moveto ${{
|
||||||
set -f
|
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|')
|
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
|
[ -z "$dest" ] && exit
|
||||||
destpath=$(eval printf '%s' \"$dest\")
|
destpath=$(eval printf '%s' \"$dest\")
|
||||||
@ -110,6 +111,7 @@ cmd moveto ${{
|
|||||||
|
|
||||||
cmd copyto ${{
|
cmd copyto ${{
|
||||||
set -f
|
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|')
|
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
|
[ -z "$dest" ] && exit
|
||||||
destpath=$(eval printf '%s' \"$dest\")
|
destpath=$(eval printf '%s' \"$dest\")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user