mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
2 Commits
f333dfdeca
...
9e004c8906
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e004c8906 | ||
|
|
dbf4769b55 |
@ -93,8 +93,8 @@ 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|')
|
||||
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
|
||||
@ -111,8 +111,8 @@ 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|')
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user