tmux plugins added to gitmodules
This commit is contained in:
parent
aa017bc0e9
commit
5b6aa3d6fb
18
.gitmodules
vendored
Normal file
18
.gitmodules
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[submodule ".tmux/plugins/tpm"]
|
||||||
|
path = .tmux/plugins/tpm
|
||||||
|
url = https://github.com/tmux-plugins/tpm
|
||||||
|
[submodule ".tmux/plugins/tmux"]
|
||||||
|
path = .tmux/plugins/tmux
|
||||||
|
url = https://git::@github.com/dracula/tmux
|
||||||
|
[submodule ".tmux/plugins/tmux-copycat"]
|
||||||
|
path = .tmux/plugins/tmux-copycat
|
||||||
|
url = https://git::@github.com/tmux-plugins/tmux-copycat
|
||||||
|
[submodule ".tmux/plugins/tmux-open"]
|
||||||
|
path = .tmux/plugins/tmux-open
|
||||||
|
url = https://git::@github.com/tmux-plugins/tmux-open
|
||||||
|
[submodule ".tmux/plugins/tmux-sensible"]
|
||||||
|
path = .tmux/plugins/tmux-sensible
|
||||||
|
url = https://git::@github.com/tmux-plugins/tmux-sensible
|
||||||
|
[submodule ".tmux/plugins/tmux-yank"]
|
||||||
|
path = .tmux/plugins/tmux-yank
|
||||||
|
url = https://git::@github.com/tmux-plugins/tmux-yank
|
3
.stow-local-ignore
Normal file
3
.stow-local-ignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
add-tmux-plugins.sh
|
||||||
|
.git
|
||||||
|
.gitmodules
|
1
.tmux/plugins/tmux
Submodule
1
.tmux/plugins/tmux
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c2b1d67cbda5c44ea8ee25d2ab307063e6959d0f
|
1
.tmux/plugins/tmux-copycat
Submodule
1
.tmux/plugins/tmux-copycat
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d7f7e6c1de0bc0d6915f4beea5be6a8a42045c09
|
1
.tmux/plugins/tmux-open
Submodule
1
.tmux/plugins/tmux-open
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 763d0a852e6703ce0f5090a508330012a7e6788e
|
1
.tmux/plugins/tmux-sensible
Submodule
1
.tmux/plugins/tmux-sensible
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa
|
1
.tmux/plugins/tmux-yank
Submodule
1
.tmux/plugins/tmux-yank
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit acfd36e4fcba99f8310a7dfb432111c242fe7392
|
1
.tmux/plugins/tpm
Submodule
1
.tmux/plugins/tpm
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
20
add-tmux-plugins.sh
Executable file
20
add-tmux-plugins.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
pwd
|
||||||
|
ls .tmux/plugins
|
||||||
|
for repo in .tmux/plugins/* ; do
|
||||||
|
if [ -d "$repo/.git" ]; then
|
||||||
|
# Remove trailing slash from the directory name
|
||||||
|
repo=${repo%/}
|
||||||
|
|
||||||
|
# Get the origin URL of the repository
|
||||||
|
url=$(git -C "$repo" remote get-url origin)
|
||||||
|
|
||||||
|
if [ -n "$url" ]; then
|
||||||
|
echo "adding repo $repo: $url"
|
||||||
|
# Add the repository as a submodule using its origin URL
|
||||||
|
git rm --cached -f "$repo"
|
||||||
|
git submodule add "$url" "$repo"
|
||||||
|
else
|
||||||
|
echo "No origin URL found for $repo"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user