addet tmux-function
This commit is contained in:
parent
e312eddf84
commit
f67fa90399
3 changed files with 13 additions and 1 deletions
|
@ -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
9
functions/tmux.fish
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue