addet tmux-function

This commit is contained in:
pika 2024-05-22 20:18:24 +02:00
parent e312eddf84
commit f67fa90399
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,6 @@
# ╭────────────────────────────────────────────────────────────────────────────────────────────╮
# │ Define function gsa (to ask the user which submodule to clone to which path and which name │
# ╰────────────────────────────────────────────────────────────────────────────────────────────╯
function gsa
# ─< Prompt the user to enter the repository URL to add as a submodule >────────────────────
echo "-- enter the repository to add as a submodule --"

9
functions/tmux.fish Normal file
View file

@ -0,0 +1,9 @@
if command -v tmux 2>&1
function ta
if command tmux list-sessions 2>&1
tmux a
else
tmux
end
end
end