Some generic username fixes and new installers

This commit is contained in:
Fergal Moran
2016-12-29 21:38:09 +00:00
parent 7528937e62
commit 488d83d2d1
4 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
pwfonts/
bin/bin

View File

@@ -51,7 +51,7 @@ doPsKill(){
}
alias pskill=doPsKill
if ! type "docker" > /dev/null; then
if type "$docker" > /dev/null; then
alias docker-nuke="docker rm $(docker ps -a -q) && docker rmi $(docker images -q)"
alias dc='docker-compose'
alias docker-rm-untagged='docker rmi -f $(docker images | grep "^<none>" | awk "{print $3}")'

View File

@@ -37,6 +37,7 @@ git clone https://github.com/powerline/fonts.git pwfonts
cd pwfonts && ./install.sh
echo "Setting up zsh"
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
OMF=~/.oh-my-zsh/oh-my-zsh.sh
if [ ! -f $OMF ]; then
@@ -49,9 +50,9 @@ sudo locale-gen "en_IE.UTF-8"
#install default packages
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt -y install exuberant-ctags build-essential cmake python-dev vim-youcompleteme autojump nodejs htop ncdu python-pip
sudo pip install livereload
sudo apt -y install exuberant-ctags build-essential cmake python-dev vim-youcompleteme autojump nodejs htop ncdu python-pip byobu zsh
sudo pip install livereload speedtest-cli virtualenv virtualenvwrapper
chsh -s /bin/zsh
git clone git@github.com:fergalmoran/vimfiles.git ~/.vim
ln -s ~/.vim/.vimrc ~/.vimrc
@@ -59,4 +60,9 @@ ln -s ~/.vim/.vimrc ~/.vimrc
cd ~/.vim
git submodule init
git submodule update
vim +BundleInstall +qall
git config --global user.email "fergal.moran@gmail.com"
git config --global user.name "Fergal Moran"

2
zshrc
View File

@@ -2,7 +2,7 @@
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/fergalm/.oh-my-zsh
export ZSH=~/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.