Breaking up env vars and adding logout alias
This commit is contained in:
parent
f4f9a9320b
commit
71fe80ffd0
@ -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" ~
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user