From 8d2b3dbb929c6305e84082a424f8abaa88311df7 Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 2 May 2018 13:49:10 +0200 Subject: [PATCH] all: misc changes from the last few months --- .scripts/cloc.txt | 5 +++++ bash_profile | 4 ++++ gitconfig | 2 +- vimrc | 2 ++ zshrc | 2 +- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.scripts/cloc.txt b/.scripts/cloc.txt index 374e560..10299cd 100644 --- a/.scripts/cloc.txt +++ b/.scripts/cloc.txt @@ -15,3 +15,8 @@ JSX extension jsx 3rd_gen_scale 1.48 end_of_line_continuation \\$ +Zig + filter remove_matches ^\s*// + extension zig + 3rd_gen_scale 1.48 + end_of_line_continuation \\$ diff --git a/bash_profile b/bash_profile index 182ba16..56b1728 100644 --- a/bash_profile +++ b/bash_profile @@ -128,3 +128,7 @@ save_dotfiles(){ cp ~/.zshrc ${DOTPATH}zshrc } if [ -e /Users/veitheller/.nix-profile/etc/profile.d/nix.sh ]; then . /Users/veitheller/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer + +export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" + +export PATH="$HOME/.cargo/bin:$PATH" diff --git a/gitconfig b/gitconfig index 82d6994..c45b2ca 100644 --- a/gitconfig +++ b/gitconfig @@ -64,7 +64,7 @@ untracked = cyan [core] - excludesfile = /Users/sidharta/.gitignore + excludesfile = /Users/veitheller/.gitignore whitespace = space-before-tabmtrailing-space autocrlf = input editor = /usr/local/bin/vim diff --git a/vimrc b/vimrc index 31613c7..ad2d777 100644 --- a/vimrc +++ b/vimrc @@ -94,6 +94,7 @@ Bundle 'tikhomirov/vim-glsl' Plugin 'rust-lang/rust.vim' Plugin 'kchmck/vim-coffee-script' Plugin 'isRuslan/vim-es6' +Plugin 'zig-lang/zig.vim' " Custom bundles if filereadable(expand("~/.vim.local/bundles.vim")) @@ -639,3 +640,4 @@ endif " }}} let g:syntastic_carp_checkers = ['carp'] +command Cr !carp -x % diff --git a/zshrc b/zshrc index 47ee43c..bd4e642 100644 --- a/zshrc +++ b/zshrc @@ -24,7 +24,7 @@ export GOPATH=~/.go export GOBIN=$GOPATH/bin export GHC_HOME=/usr/local/bin export CABAL_HOME=$HOME/.cabal/ -export PATH=$GHC_HOME:$PATH:$CABAL_HOME/bin:/opt/local/bin:/usr/local/sbin:/usr/local/opt/llvm/bin:~/.local/bin:$GOBIN +export PATH=$GHC_HOME:$PATH:$CABAL_HOME/bin:/opt/local/bin:/usr/local/sbin:/usr/local/opt/llvm/bin:~/.local/bin:$GOBIN:~/.cargo/bin export MANPATH=$MANPATH:/opt/local/share/man:/usr/local/opt/erlang/lib/erlang/man export INFOPATH=$INFOPATH:/opt/local/share/info export PYTHONSTARTUP=~/.pythonrc