fixed sourcing issues
This commit is contained in:
parent
f42da73408
commit
9a6e1776b1
2 changed files with 1 additions and 11 deletions
|
|
@ -2,7 +2,6 @@
|
|||
set -e
|
||||
PX4_DIR="\$HOME/uuv/PX4-Autopilot"
|
||||
WORKSPACE_DIR="\$HOME/uuv/ros2"
|
||||
echo "source $WORKSPACE_DIR/install/setup.zsh" >> ~/.zshrc
|
||||
echo "source $PX4_DIR/Tools/setup_gazebo.bash $PX4_DIR $PX4_DIR/build/px4_sitl_default > /dev/null" >> ~/.zshrc
|
||||
echo "export ROS_PACKAGE_PATH=\$ROS_PACKAGE_PATH:$PX4_DIR" >> ~/.zshrc
|
||||
echo "export ROS_PACKAGE_PATH=\$ROS_PACKAGE_PATH:$PX4_DIR/Tools/sitl_gazebo" >> ~/.zshrc
|
||||
|
|
|
|||
11
vimrc
11
vimrc
|
|
@ -6,7 +6,6 @@ call vundle#begin()
|
|||
Plugin 'preservim/nerdtree'
|
||||
Plugin 'ycm-core/YouCompleteMe'
|
||||
Plugin 'NLKNguyen/papercolor-theme'
|
||||
Plugin 'dense-analysis/ale'
|
||||
Plugin 'tmsvg/pear-tree'
|
||||
|
||||
call vundle#end()
|
||||
|
|
@ -55,12 +54,4 @@ let g:ycm_confirm_extra_conf=0
|
|||
autocmd FileType c,cpp nnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
||||
autocmd FileType c,cpp vnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
||||
" autocmd FileType python nnoremap <leader><F> :0,$!yapf<CR><C-o>
|
||||
let g:ale_linters={"python": ["pylint"]}
|
||||
let g:ale_fixers = ["yapf"]
|
||||
let g:ale_open_list=1
|
||||
let g:ale_set_quickfix=0
|
||||
let g:ale_set_loclist=1
|
||||
" does not seem to work due to os.fspath called by config_initialization of
|
||||
" pylint?
|
||||
" let g:ale_python_pylint_options='--rcfile $HOME/uuv/ros2/.pylintrc'
|
||||
silent! autocmd FileType python nnoremap <leader>f :0,$!yapf<CR><C-o>
|
||||
autocmd FileType python nnoremap <leader>f :0,$!yapf<CR><C-o>
|
||||
|
|
|
|||
Loading…
Reference in a new issue