FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
scripts/setup.sh at main · gitbuda/scripts · GitHub
gitbuda
/
scripts
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
scripts
/
setup.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
18 lines (14 loc) · 468 Bytes
Breadcrumbs
scripts
/
setup.sh
Copy path
File metadata and controls
executable file
·
18 lines (14 loc) · 468 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!
/bin/bash -e
script_dir=
"
$(
cd
"
$(
dirname
"
${BASH_SOURCE[0]}
"
)
"
&&
pwd
)
"
dotfiles=
"
bashrc bash_aliases ctags gitconfig gitignore tmux.conf zshrc
"
for
f
in
${dotfiles}
;
do
rm -rf
"
$HOME
/.
$f
"
ln -s
"
${script_dir}
/dotfiles/
$f
"
"
$HOME
/.
$f
"
done
#
# Dependencies setup.
#
Tmux Plugin Manager setup.
tpm_repo=
"
https://github.com/tmux-plugins/tpm
"
tpm_dir=
"
$HOME
/.tmux/plugins/tpm
"
if
[[
!
-d
"
${tpm_dir}
"
]]
;
then
git clone
"
${tpm_repo}
"
"
${tpm_dir}
"
fi
Back
|
FazBrowse Home
|
New Git URL