AutoYADM commit: 2025-06-15 15:36:37
This commit is contained in:
parent
c38b84424a
commit
53d84afc8d
4 changed files with 20 additions and 6 deletions
|
@ -1,4 +1,12 @@
|
|||
function mksh --description 'make executable shell script' --argument-names name
|
||||
printf '#!/bin/sh\n\n' >$name.sh
|
||||
chmod +x $name.sh
|
||||
function mksh --description 'make executable shell script'
|
||||
argparse 'e/edit' -- $argv
|
||||
set name $argv[1]
|
||||
echo $name.sh
|
||||
set file $name.sh
|
||||
echo $file
|
||||
printf '#!/bin/sh\n\n' >$file
|
||||
chmod +x $file
|
||||
if set -q _flag_e
|
||||
kak "$file" -e 'exec -with-hooks gjo'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -126,9 +126,11 @@ map -docstring %{
|
|||
|
||||
map global normal <backspace> '"_'
|
||||
define-command goto-debug %{
|
||||
try %{
|
||||
buffer *debug*
|
||||
ui-scrolloff-disable
|
||||
execute-keys 'gj'
|
||||
}
|
||||
}
|
||||
|
||||
declare-user-mode debug
|
||||
|
|
2
.config/niri/-e.sh
Normal file
2
.config/niri/-e.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
|
2
.config/niri/user-mode.sh
Executable file
2
.config/niri/user-mode.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue