diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-03-09 22:03:28 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-03-09 22:03:28 +0900 |
| commit | 1853f713625558299d5e8982b9d2a8d0ff2dbc8d (patch) | |
| tree | c089596b8c5052dd827c39813572b635c76d89f2 /ar/.config/lf | |
| parent | 56df043d5906aac93e4345528c5f9a6541f5b14e (diff) | |
updates
Diffstat (limited to 'ar/.config/lf')
| -rw-r--r-- | ar/.config/lf/lfrc | 7 |
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 |
