Changed vim editor to vi editor for computers without Vim. Added -h (help) flag in sync.sh. Ran :%s/\n/sudo \r/g in wemux.conf for root access
This commit is contained in:
parent
ed4f8c5d95
commit
c163b426ee
11
sync.sh
11
sync.sh
@ -1,4 +1,13 @@
|
||||
while getopts ":bsdtc" VALUE "$@"; do
|
||||
while getopts ":hbsdtc" VALUE "$@"; do
|
||||
if [ "$VALUE" = "h" ] ; then
|
||||
echo "sync.sh syncs configuration files, applications, and Vim bundles between computers"
|
||||
echo " -h Shows this help"
|
||||
echo " -b Syncs Vim bundles"
|
||||
echo " -s Syncs computer with server applications in server.txt"
|
||||
echo " -d Syncs computer with desktop applications in desktop.txt"
|
||||
echo " -t Syncs tmux configuration file"
|
||||
echo " -c Syncs other configuration files"
|
||||
fi
|
||||
if [ "$VALUE" = "b" ] ; then
|
||||
mkdir -p ~/.vim/plugin/
|
||||
mkdir -p ~/.vim/backup/
|
||||
|
8
wemux.sh
8
wemux.sh
@ -1,4 +1,4 @@
|
||||
git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux
|
||||
ln -s /usr/local/share/wemux/wemux /usr/local/bin/wemux
|
||||
cp /usr/local/share/wemux/wemux.conf.example /usr/local/etc/wemux.conf
|
||||
vim /usr/local/etc/wemux.conf +:13
|
||||
sudo git clone git://github.com/zolrath/wemux.git /usr/local/share/wemux
|
||||
sudo ln -s /usr/local/share/wemux/wemux /usr/local/bin/wemux
|
||||
sudo cp /usr/local/share/wemux/wemux.conf.example /usr/local/etc/wemux.conf
|
||||
sudo vi /usr/local/etc/wemux.conf +:13
|
||||
|
Loading…
Reference in New Issue
Block a user