From 30bd043a8d01610786dc25591bf131f3e5e70d76 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 20 Feb 2017 18:31:28 -0600 Subject: [PATCH] stuff --- shell/bashrc | 7 +++++++ shell/paths | 6 ++++++ text-editor/neovim/init.vim | 1 + 3 files changed, 14 insertions(+) create mode 100644 shell/paths diff --git a/shell/bashrc b/shell/bashrc index 9af4e30..0169e77 100644 --- a/shell/bashrc +++ b/shell/bashrc @@ -2,6 +2,9 @@ # bashrc is executed when a bash process starts +# these are all paths used across all the dotfiles and should be assumed to be +# loaded and properly set by every script - this means you are responsible for +# making sure they're loaded! export XDG_CONFIG_HOME="$HOME/.config" export DOTFILES_PATH="$XDG_CONFIG_HOME/dotfiles" export NICE_HOME="$HOME/.." @@ -17,6 +20,8 @@ BASE16_SHELL="$DOTFILES_PATH/common/colors/shell" # disable ctrl-s terminal freeze [[ $- == *i* ]] && stty -ixon +source "$DOTFILES_PATH/shell/paths" + # import our aliases source "$DOTFILES_PATH/shell/aliases" @@ -52,3 +57,5 @@ fi if [ "$PWD" = "$HOME" ]; then cd "$NICE_HOME" fi + +[ -f ~/.fzf.bash ] && source ~/.fzf.bash diff --git a/shell/paths b/shell/paths new file mode 100644 index 0000000..88ef3ce --- /dev/null +++ b/shell/paths @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +export GOPATH="$HOME/.go" + +# PATH=$PATH:$APPENDED_PATH +PATH=$PATH:${GOPATH//://bin:}/bin diff --git a/text-editor/neovim/init.vim b/text-editor/neovim/init.vim index 23d0f06..e91835a 100644 --- a/text-editor/neovim/init.vim +++ b/text-editor/neovim/init.vim @@ -103,6 +103,7 @@ let g:fzf_layout = { 'window': 'enew' } Plug 'kchmck/vim-coffee-script', {'for': ['coffee', 'coffeescript', 'vue']} Plug 'posva/vim-vue', {'for': ['vue']} Plug 'elixir-lang/vim-elixir', {'for': ['elixir']} +Plug 'mattn/emmet-vim', {'for': ['html']} Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']} Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']} " Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}