mirror of
https://github.com/simon987/tmux-config.git
synced 2025-04-04 08:43:01 +00:00
automatic installation
This commit is contained in:
parent
235b580673
commit
3dbbf493f0
4
README.md
Normal file
4
README.md
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
```bash
|
||||
git clone https://github.com/simon987/tmux-config /tmp/tmux-conf/ && /tmp/tmux-conf/install.sh
|
||||
```
|
12
install.sh
Executable file
12
install.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
script_path=`dirname $(realpath $0)`
|
||||
|
||||
# Install files
|
||||
rm ~/.tmux.conf
|
||||
cp ${script_path}/.tmux.conf ~/
|
||||
|
||||
# Restart
|
||||
tmux kill-server
|
||||
|
||||
echo "Installed tmux config"
|
Loading…
x
Reference in New Issue
Block a user