stuff
This commit is contained in:
parent
d433c09dd1
commit
25e7b5a8b0
7 changed files with 54 additions and 2 deletions
12
README.md
12
README.md
|
@ -3,7 +3,15 @@
|
|||
## Vim
|
||||
|
||||
```bash
|
||||
ln -sv ${PWD}/vimrc ~/.vimrc
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
ln -sv ${PWD}/vimrc ${HOME}/.vimrc
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ${HOME}/.vim/bundle/Vundle.vim
|
||||
```
|
||||
|
||||
## Bash
|
||||
|
||||
```shell
|
||||
ln -sv ${PWD}/bashrc.d/ ${HOME}/.bashrc.d
|
||||
ln -sv ${PWD}/bashrc ${HOME}/.bashrc
|
||||
ln -sv ${PWD}/bash_profile ${HOME}/.bash_profile
|
||||
```
|
||||
|
||||
|
|
8
bash_profile
Normal file
8
bash_profile
Normal file
|
@ -0,0 +1,8 @@
|
|||
# .bash_profile
|
||||
|
||||
# Get the aliases and functions
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# User specific environment and startup programs
|
25
bashrc
Normal file
25
bashrc
Normal file
|
@ -0,0 +1,25 @@
|
|||
# .bashrc
|
||||
|
||||
# Source global definitions
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# User specific environment
|
||||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
||||
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||
fi
|
||||
export PATH
|
||||
|
||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
# User specific aliases and functions
|
||||
if [ -d ~/.bashrc.d ]; then
|
||||
for rc in ~/.bashrc.d/*; do
|
||||
if [ -f "$rc" ]; then
|
||||
. "$rc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
unset rc
|
3
bashrc.d/direnv
Normal file
3
bashrc.d/direnv
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [ -f `which direnv` ]; then
|
||||
eval "$(direnv hook bash)"
|
||||
fi
|
1
bashrc.d/editor
Normal file
1
bashrc.d/editor
Normal file
|
@ -0,0 +1 @@
|
|||
export VISUAL=vim
|
6
bashrc.d/powerline
Normal file
6
bashrc.d/powerline
Normal file
|
@ -0,0 +1,6 @@
|
|||
if [ -f `which powerline-daemon` ]; then
|
||||
powerline-daemon -q
|
||||
POWERLINE_BASH_CONTINUATION=1
|
||||
POWERLINE_BASH_SELECT=1
|
||||
. /usr/share/powerline/bash/powerline.sh
|
||||
fi
|
1
vimrc
1
vimrc
|
@ -24,6 +24,7 @@ Plugin 'junegunn/fzf'
|
|||
Plugin 'scrooloose/syntastic'
|
||||
Plugin 'hashivim/vim-terraform'
|
||||
Plugin 'valloric/youcompleteme'
|
||||
Plugin 'vimwiki/vimwiki'
|
||||
|
||||
" plugin from http://vim-scripts.org/vim/scripts.html
|
||||
" Plugin 'L9'
|
||||
|
|
Loading…
Add table
Reference in a new issue