diff --git a/install.sh b/install.sh index 2c81ba9..6e7b486 100644 --- a/install.sh +++ b/install.sh @@ -1,8 +1,9 @@ #!/bin/bash DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +export DOTFILES_DIR EXTRA_DIR="$HOME/.extra" -export DOTFILES_DIR EXTRA_DIR +export EXTRA_DIR # 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 # Bunch of symlinks +ln -sfv ~/dotfiles ~/.dotfiles #ln -sfv "$DOTFILES_DIR/run/.bash_profile" ~ ln -sfv "$DOTFILES_DIR/run/.bashrc" ~ ln -sfv "$DOTFILES_DIR/git/.gitconfig" ~ diff --git a/system/.alias b/system/.alias index 32bab81..a028094 100644 --- a/system/.alias +++ b/system/.alias @@ -6,6 +6,9 @@ alias ..="cd .." alias ...="cd ../.." alias ....="cd ../../.." +### Logout! +alias logout='sudo pkill -u $USER' + ### Vagrant alias vu='vagrant up --provision' alias vp='vagrant provision'