Removed extra lines
This commit is contained in:
parent
225cdab7ec
commit
14287e9cc2
@ -1,11 +0,0 @@
|
||||
#!/bin/zsh
|
||||
set -e
|
||||
mkdir -p ~/applications
|
||||
\cd ~/applications
|
||||
virtualenv --python=python3 borg-env
|
||||
pip install 'llfuse<0.41'
|
||||
source borg-env/bin/activate
|
||||
pip install borgbackup
|
||||
mkdir -p ~/bin
|
||||
ln -s $(readlink -e borg-env/bin/borg) ~/bin/borg
|
||||
\cd -
|
@ -1,40 +0,0 @@
|
||||
#!/bin/bash
|
||||
green='\e[0;32m'
|
||||
close='\e[0m'
|
||||
rm -rf /tmp/tests
|
||||
mkdir -p /tmp/tests
|
||||
echo -e "${green}Making test directories${close}"
|
||||
cd /tmp/tests
|
||||
git init
|
||||
git remote add iHttp http://107.15.82.213/gitlab/stonewareslord/ExampleProject.git
|
||||
git remote add iHttps https://107.15.82.213/gitlab/stonewareslord/ExampleProject.git
|
||||
git remote add iSsh git@107.15.82.213:stonewareslord/ExampleProject.git
|
||||
git remote add dHttp http://austenwares.com/gitlab/stonewareslord/ExampleProject.git
|
||||
git remote add dHttps https://austenwares.com/gitlab/stonewareslord/ExampleProject.git
|
||||
git remote add dSsh git@austenwares.com:stonewareslord/ExampleProject.git
|
||||
git config http.sslVerify false
|
||||
echo -e "${green}IP HTTPS cloning${close}"
|
||||
git pull iHttps master
|
||||
echo -e "${green}DNS HTTPS cloning${close}"
|
||||
git pull dHttps master
|
||||
echo -e "${green}IP HTTP cloning${close}"
|
||||
git pull iHttp master
|
||||
echo -e "${green}DNS HTTP cloning${close}"
|
||||
git pull dHttp master
|
||||
echo -e "${green}IP SSH cloning${close}"
|
||||
git pull iSsh master
|
||||
echo -e "${green}DNS SSH cloning${close}"
|
||||
git pull dSsh master
|
||||
echo -e "${green}IP HTTPS pushing${close}"
|
||||
git commit --allow-empty -m "iHttps"&&git push iHttps master
|
||||
echo -e "${green}DNS HTTPS pushing${close}"
|
||||
git commit --allow-empty -m "dHttps"&&git push dHttps master
|
||||
echo -e "${green}IP HTTP pushing${close}"
|
||||
git commit --allow-empty -m "iHttp"&&git push iHttp master
|
||||
echo -e "${green}DNS HTTP pushing${close}"
|
||||
git commit --allow-empty -m "dHttp"&&git push dHttp master
|
||||
echo -e "${green}IP SSH pushing${close}"
|
||||
git commit --allow-empty -m "iSsh"&&git push iSsh master
|
||||
echo -e "${green}DNS SSH pushing${close}"
|
||||
git commit --allow-empty -m "dSsh"&&git push dSsh master
|
||||
rm -rf /tmp/tests
|
@ -112,6 +112,7 @@ while getopts ":hbsdpcw" VALUE "$@"; do
|
||||
sudo rm -r /usr/local/bin/wemux
|
||||
sudo rm -r /usr/local/etc/wemux.conf
|
||||
sudo ln -s /usr/local/share/wemux/wemux /usr/local/bin/wemux
|
||||
sudo mkdir -p /usr/local/etc
|
||||
sudo cp /usr/local/share/wemux/wemux.conf.example /usr/local/etc/wemux.conf
|
||||
sudo vim `which wemux` +"execute \"normal gg/tmux\<CR>nnnea -2\<Esc>nea -2\<Esc>ggZZ\""
|
||||
sudo vim /usr/local/etc/wemux.conf +":execute \"normal gg/host_list\<CR>nnww\""
|
||||
|
13
shells/zshrc
13
shells/zshrc
@ -195,21 +195,14 @@ alias ..............='k ../../../../../../../../../../../../..'
|
||||
alias ...............='k ../../../../../../../../../../../../../..'
|
||||
alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'"
|
||||
alias tux="wemux"
|
||||
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
|
||||
alias rname="while true;do echo -n \"Rename: \";read A;echo -n \"To: \";read B;i3-msg 'rename workspace $A to $B';done"
|
||||
alias g="git $@"
|
||||
alias stdns="sudo sh -c 'echo nameserver 8.8.8.8 > /etc/resolv.conf'"
|
||||
alias fvim="vim -u NONE +\"so ~/.vim/plugged/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/plugged/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
|
||||
alias fk='k `fzf --no-mouse -m -1 -x`'
|
||||
alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
|
||||
#alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
|
||||
alias susp="sudo true&&(slock&echo mem | sudo tee /sys/power/state >/dev/null)"
|
||||
alias aoeu='setxkbmap -layout us -option "'
|
||||
alias asdf='setxkbmap -layout dvorak -option ""'
|
||||
alias -s html="firefox"
|
||||
alias -s log="less -MN"
|
||||
alias -s odt="libreoffice"
|
||||
alias -s doc="libreoffice"
|
||||
alias -s docx="libreoffice"
|
||||
#alias aoeu='setxkbmap -layout us -option "'
|
||||
#alias asdf='setxkbmap -layout dvorak -option ""'
|
||||
alias -g PA='2>&1 | paste'
|
||||
alias s='sudo -Hu'
|
||||
alias sudo='sudo -H'
|
||||
|
Loading…
Reference in New Issue
Block a user