Breaking up env vars and adding logout alias

This commit is contained in:
Alexander Hosking 2017-03-28 17:01:03 -04:00
parent f4f9a9320b
commit 71fe80ffd0
2 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export DOTFILES_DIR
EXTRA_DIR="$HOME/.extra" EXTRA_DIR="$HOME/.extra"
export DOTFILES_DIR EXTRA_DIR export EXTRA_DIR
# Update dotfiles itself first # Update dotfiles itself first
@ -14,6 +15,7 @@ mkdir -p ~/.vim/{backup_files,swap_files,undo_files}
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Bunch of symlinks # Bunch of symlinks
ln -sfv ~/dotfiles ~/.dotfiles
#ln -sfv "$DOTFILES_DIR/run/.bash_profile" ~ #ln -sfv "$DOTFILES_DIR/run/.bash_profile" ~
ln -sfv "$DOTFILES_DIR/run/.bashrc" ~ ln -sfv "$DOTFILES_DIR/run/.bashrc" ~
ln -sfv "$DOTFILES_DIR/git/.gitconfig" ~ ln -sfv "$DOTFILES_DIR/git/.gitconfig" ~

View File

@ -6,6 +6,9 @@ alias ..="cd .."
alias ...="cd ../.." alias ...="cd ../.."
alias ....="cd ../../.." alias ....="cd ../../.."
### Logout!
alias logout='sudo pkill -u $USER'
### Vagrant ### Vagrant
alias vu='vagrant up --provision' alias vu='vagrant up --provision'
alias vp='vagrant provision' alias vp='vagrant provision'