AutoYADM commit: 2025-05-19 18:28:44
This commit is contained in:
parent
dcef001856
commit
a8ad261fb0
2 changed files with 6 additions and 1 deletions
|
@ -21,7 +21,7 @@ function kak-session -w kak --description "kakoune where sessions are derived fr
|
|||
set target $argv[1]
|
||||
set dir (path dirname (pwd))
|
||||
if test -n "$argv[2]"
|
||||
set dir (path dirname "$argv[2]")
|
||||
set dir (path dirname "$(path resolve $argv[2])")
|
||||
end
|
||||
while test "$dir" != /
|
||||
set result (fd --max-depth 1 -H -I -t f "$target" "$dir")
|
||||
|
|
|
@ -105,3 +105,8 @@ define-command -docstring %{
|
|||
} > /dev/null 2>&1 < /dev/null &
|
||||
}
|
||||
}
|
||||
define-command -docstring "Create a scratch buffer" scratch %{
|
||||
edit -scratch
|
||||
}
|
||||
alias global s scratch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue