ENH: opensuse

This commit is contained in:
Matthew Ryan Dillon 2019-02-22 14:35:44 -07:00
parent 2332284d8e
commit 66e3a611e0
6 changed files with 14 additions and 73 deletions

View file

@ -1,41 +1,23 @@
# Dotfiles
```bash
$ git clone https://github.com/thermokarst/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ git remote rename origin thermokarst
# Install macports
$ sudo port selfupdate
$ sudo port install \
$ sudo zypper install \
the_silver_searcher \
aspell \
aspell-dict-en \
cmus \
curl \
git \
gnupg2 \
graphviz-devel \
htop \
imagemagick \
myrepos \
nodejs9 \
openssl \
postgresql10 \
postgresql10-server \
python36 \
tmux-pasteboard \
rsync \
mr \
nodejs10 \
tmux \
tree \
vim \
wget \
xz \
zsh
$ sudo port select --set python python36
$ sudo port select --set python3 python36
$ sudo port select --set postgresql postgresql10
$ sudo chpass -s '/opt/local/bin/zsh' $USER
$ sudo sh -c 'echo /opt/local/bin/zsh >>/etc/shells'
$ git clone https://github.com/thermokarst/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ git remote rename origin thermokarst
$ sudo chsh $USER -s zsh
$ git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
$ ./install
@ -43,28 +25,3 @@ $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent
$ vim +PlugInstall
$ mr checkout
```
## Typical `pip` modifications for macports
```bash
pip install --global-option=build_ext --global-option=-I/opt/local/include -r requirements.txt
```
## postgresql setup
```bash
sudo mkdir -p /opt/local/var/db/postgresql10/defaultdb
sudo chown postgres:postgres /opt/local/var/db/postgresql10/defaultdb
sudo su postgres -c '/opt/local/lib/postgresql10/bin/initdb -D /opt/local/var/db/postgresql10/defaultdb'
sudo port load postgresql10-server
sudo su postgres -c "createuser matthew --createdb --login --superuser"
sudo su postgres -c "createdb matthew"
```
### Trackpad
https://github.com/pilotmoon/Scroll-Reverser
### Typeface
https://fonts.google.com/specimen/Inconsolata (iTerm2 16pt anti-aliased)