summaryrefslogtreecommitdiff
path: root/ar/.config/lf
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-09 22:03:28 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-09 22:03:28 +0900
commit1853f713625558299d5e8982b9d2a8d0ff2dbc8d (patch)
treec089596b8c5052dd827c39813572b635c76d89f2 /ar/.config/lf
parent56df043d5906aac93e4345528c5f9a6541f5b14e (diff)
updates
Diffstat (limited to 'ar/.config/lf')
-rw-r--r--ar/.config/lf/lfrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc
index 207da85..64b2c5f 100644
--- a/ar/.config/lf/lfrc
+++ b/ar/.config/lf/lfrc
@@ -80,7 +80,8 @@ cmd compress ${{
# Copy
cmd copyto ${{
set -f
- 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|')
+ clear; tput cup $(($(tput lines)/3))
+ dest=$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' "${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" | fzf --layout=reverse --height 40% --prompt 'Copy to where? ' | sed 's|~|$HOME|')
[ -z "$dest" ] && exit
destpath=$(eval printf '%s' \"$dest\")
clear; tput cup $(($(tput lines)/3)); tput bold
@@ -235,7 +236,9 @@ cmd create-ipynb ${{
# Move
cmd moveto ${{
- 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|')
+ set -f
+ clear; tput cup $(($(tput lines)/3))
+ dest=$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' "${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" | fzf --layout=reverse --height 40% --prompt 'Move to where? ' | sed 's|~|$HOME|')
[ -z "$dest" ] && exit
destpath=$(eval printf '%s' \"$dest\")
clear; tput cup $(($(tput lines)/3)); tput bold