Skip to content

Commit

Permalink
Added libs for clang under wsl. Tabs->Spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafq77 committed Sep 17, 2019
1 parent f9395e6 commit 5acac6a
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions DevSettings/freshInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,29 @@
PRFX="-=========="
# TODO extend wth `uname -a` check
if [ -e /usr/bin/zypper ]; then
# this is for openSuse in WSL
echo "${PRFX} Detected Zypper package manager."
# this is for openSuse in WSL
echo "${PRFX} Detected Zypper package manager."

echo "${PRFX} Refreshing repositories"
sudo zypper refresh
echo "${PRFX} Refreshing repositories"
sudo zypper refresh

echo "${PRFX} Installing the usual: compiler, powerline, vim, zsh, git, gtest, gmock"
sudo zypper install vim vim-plugin-NERDtree vim-plugin-fugitive vim-plugin-powerline vim-plugin-colorschemes powerline tmux-powerline clang gcc8-c++ vim-data powerline-fonts zsh git gtest gmock
echo "${PRFX} Installing the usual: compiler, powerline, vim, zsh, git, gtest, gmock"
sudo zypper install vim vim-plugin-NERDtree vim-plugin-fugitive vim-plugin-powerline vim-plugin-colorschemes powerline tmux-powerline clang gcc8-c++ vim-data powerline-fonts zsh git gtest gmock

echo "${PRFX} Creating temporary files for tmux"
sudo systemd-tmpfiles --create
echo "${PRFX} Installing additional things for c++ development"
sudo zypper install clang-devel cppcheck libc++devel libc++abi-devel

echo "${PRFX} Creating temporary files for tmux"
sudo systemd-tmpfiles --create

PTH="/usr/share/powerline/zsh/powerline.zsh"

PTH="/usr/share/powerline/zsh/powerline.zsh"
else # TODO elif [ uname -a | grep Ubuntu ]
# this is for regular Linux Install (Ubuntu derivative)
echo "${PRFX} Proceeding with apt-get package manager."
# this is for regular Linux Install (Ubuntu derivative)
echo "${PRFX} Proceeding with apt-get package manager."

echo "${PRFX} Refreshing repositories"
sudo apt-get update
echo "${PRFX} Refreshing repositories"
sudo apt-get update

echo "${PRFX} Installing the usual..."
sudo apt-get install vim vim-fugitive vim-common vim-pathogen powerline vim-syntastic clang gcc-8 zsh git google-mock microcom python3 python3-pip curl python-pip flex texinfo help2man libtool-bin gitk libncurses5-dev automake bison pkg-config qtbase5-dev libssl-dev
Expand Down

0 comments on commit 5acac6a

Please sign in to comment.