Skip to content

Commit

Permalink
setup-linux: init
Browse files Browse the repository at this point in the history
  • Loading branch information
otofune committed Aug 17, 2019
1 parent 69b1470 commit 2fb243f
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
71 changes: 71 additions & 0 deletions setup-archlinux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

alias pacman="sudo pacman"
export GOPATH="$HOME/.projects"

cd $HOME

i () {
target=$1

if [ "$(pacman -Q $target)" = "" ]
then
pacman -S --no-confirm $target
else
echo "$target was already installed."
fi
}
i-aur () {
target=$1

if [ "$(pacman -Q $target)" = "" ]
then
yay -S --no-confirm $target
fi
}
i-package-group () {
target_group=$1

packages=$(pacman -Sg i3 | awk '{ print $2 }')
for p in $packages
do
i $p
done
}

i adobe-source-code-pro-fonts
i-package-group i3
#ここに xorg いるかも
i xorg-xinit
i htop
i pulseaudio
i pulseaudio-bluetooth
i pulseaudio-alsa
i python2
i python
i uim
i skk-jisyo

i fish

i go
git clone https://github.com/anyenv/anyenv ~/.anyenv
~/.anyenv/bin/anyenv init
go get github.com/motemen/ghq

i chromium
i firefox
i firefox-developer-edition

i code

i android-tools
i-aur google-cloud-sdk

i terraform
i docker
i docker-compose

code --install-extension EditorConfig.EditorConfig
code --install-extension ms-vscode.Go
code --install-extension castwide.solargraph
code --install-extension mauve.terraform
1 change: 1 addition & 0 deletions setup-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ i-cask gifox
code --install-extension EditorConfig.EditorConfig
code --install-extension ms-vscode.Go
code --install-extension castwide.solargraph
code --install-extension mauve.terraform

which fish | sudo tee -a /etc/shells
chsh -s $(which fish)
Expand Down

0 comments on commit 2fb243f

Please sign in to comment.