Skip to content

Commit

Permalink
add gcc alias and shell LSP
Browse files Browse the repository at this point in the history
  • Loading branch information
Wes974 committed Nov 14, 2020
1 parent 5ef1844 commit 274d424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dotfiles/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ let g:coc_global_extensions = [
\ 'coc-actions',
\ 'coc-highlight',
\ 'coc-python',
\ 'coc-clangd'
\ 'coc-clangd',
\ 'coc-sh'
\ ]

" vim-plug ----------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions dotfiles/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/us

alias vim='/usr/bin/nvim'

alias g='gcc -Wall -Wextra -Werror -pedantic -std=c99 -fsanitize=address -g'

# Faster switch back to alted progs
fancy-ctrl-z () {
if [[ $#BUFFER -eq 0 ]]; then
Expand Down

0 comments on commit 274d424

Please sign in to comment.