mv: fish functions
This commit is contained in:
1 parent
b3f3902737
commit
758b6886bd
17 files changed
+5
-3
No files matched your search
@@ -0,0 +1,10 @@
|
||||
set tempfile /tmp/chosendir
|
||||
command yazi cwd-file=$tempfile (pwd) $argv
|
||||
|
||||
if test -f $tempfile
|
||||
if [ (cat $tempfile) != (pwd) ]
|
||||
cd (cat $tempfile)
|
||||
end
|
||||
end
|
||||
|
||||
rm -f $tempfile
|
||||