This commit is contained in:
Steph 2022-09-18 18:24:27 +02:00
parent 0e8bcc17ea
commit a73f825eeb
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@
zip
nodejs-18_x
steam-run
schildichat-desktop
ripgrep
bottom

View File

@ -192,7 +192,7 @@ let
name = "edit";
runtimeInputs = [ myKakoune ];
text = ''
BUFFER_NAME=''$(echo -n "''$PWD" | xxd -ps -c 200 | tr -d '\n')
BUFFER_NAME=''$(echo -n "''$PWD" | xxd -ps -c 200 | tr -d '\n' | shasum | head -c -4)
tmux -L "$BUFFER_NAME" has-session -t "$BUFFER_NAME" || {
tmux -L "$BUFFER_NAME" new-session -d -s "$BUFFER_NAME" 'kak -e kaktree-toggle'