AutoYADM commit: 2025-05-21 20:42:39
This commit is contained in:
parent
b0ef9796be
commit
fefa63d54b
3 changed files with 9 additions and 2 deletions
|
@ -91,7 +91,6 @@ function kak-session -w kak --description "kakoune where sessions are derived fr
|
|||
command kak -s "$session_id" -e "cd %[$kakroot]" $flags $files
|
||||
end
|
||||
end
|
||||
|
||||
else if [ -n "$git_dir" ]
|
||||
# when in a git directory, share sessions
|
||||
# the shared session id is {repo}__{branch} where repo is the remote repo name
|
||||
|
@ -119,6 +118,8 @@ function kak-session -w kak --description "kakoune where sessions are derived fr
|
|||
else
|
||||
command kak -s "$session_id" -e "cd %[$git_dir]" $flags $files
|
||||
end
|
||||
else
|
||||
command kak -c "$session_id" $flags $files
|
||||
end
|
||||
else
|
||||
command kak $flags $files
|
||||
|
|
4
.config/fish/functions/kl.fish
Normal file
4
.config/fish/functions/kl.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function kl --wraps='kak -l' --description 'alias kl=kak -l'
|
||||
kak -l $argv
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue