mirror of
https://github.com/simon987/tmux-config.git
synced 2025-12-16 08:49:03 +00:00
automatic installation
This commit is contained in:
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"
|
||||
Reference in New Issue
Block a user