You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .config | 2 years ago | |
| .hgstyle | 3 years ago | |
| .local/share/mc/skins | 3 years ago | |
| Library/Application Support/iTerm2/DynamicProfiles | 2 years ago | |
| bin | 2 years ago | |
| .gitconfig | 1 year ago | |
| .gitignore | 3 years ago | |
| .hgrc | 1 year ago | |
| .p10k.zsh | 2 years ago | |
| .tmux.conf | 1 year ago | |
| .vimrc | 1 year ago | |
| .zshenv | 2 years ago | |
| .zshrc | 2 years ago | |
| README.org | 2 years ago | |
README.org
How to set up this configuration
basic setup
# for linux; ignore on other systems
sudo yum update
sudo yum install zsh tmux git
source .proxies
# enter username/password
git clone --bare https://git.meinlschmidt.org/jetpac/dotfiles.git ~/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config checkout
zsh
source ~/.proxies
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# run tmux, prefix + I installs all plugins (needs to have proxies set)
# run vim, :PlugInstall
# download and unpack dotfiles from my git
iterm
defines dynamic profile for tmux keys usage
- profile sits in `Library/Application Support/iTerm2/DynamicProfiles/dynamic_profile.json`
- this profile inherits from Default profile
- automatically appears in profiles; set it as default and you should be going
- TODO - table of defined keys
fonts
For iTerm on mac, the preferred fonts are installed automatically. You can also download fonts like this:
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf
tmux in User's home directory
If you want to build tmux independend of other parts of the system, cut&paste from the code snippet below should do the trick. run export PATH=$HOME/usr/local:$PATH to pick up correct libraries and binaries
#!/usr/bin/env bash
set -e
set -x
BUILD_DIR=$HOME/usr/local
mkdir -p $BUILD_DIR
cd $BUILD_DIR/src
curl https://ftp.acc.umu.se/mirror/gnu.org/gnu/m4/m4-1.4.19.tar.gz --output m4-1.4.19.tar.gz
tar xzvf m4-1.4.19.tar.gz; cd m4-1.4.19
./configure --prefix=$BUILD_DIR
make install
cd $BUILD_DIR
curl https://ftp.acc.umu.se/mirror/gnu.org/gnu/autoconf/autoconf-2.72.tar.gz --output autoconf-2.72.tar.gz
tar xvzf autoconf-2.72.tar.gz
cd $BUILD_DIR/src/autoconf-2.72
./configure --prefix=$BUILD_DIR
make install
curl https://ftp.acc.umu.se/mirror/gnu.org/gnu/automake/automake-1.16.5.tar.gz --output automake-1.16.5.tar.gz
tar xvzf automake-1.16.5.tar.gz
cd $BUILD_DIR/src/automake-1.16.5
./configure --prefix=$BUILD_DIR
make install
curl https://ftp.gnu.org/gnu/libtool/libtool-2.4.7.tar.gz -o libtool-2.4.7.tar.gz
tar xvzf libtool-2.4.7.tar.gz
cd $BUILD_DIR/src/libtool-2.4.7
./configure --prefix=$BUILD_DIR
make install
#pkg-config
curl https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz -o pkg-config-0.29.2.tar.gz
tar xvzf pkg-config-0.29.2.tar.gz
cd $BUILD_DIR/src/pkg-config-0.29.2
./configure --prefix=$BUILD_DIR --with-internal-glib
cd $BUILD_DIR/src
git clone https://github.com/libevent/libevent.git -b master
cd libevent
./autogen.sh
./configure --prefix=$BUILD_DIR
# utf8proc
cd $BUILD_DIR/src
git clone --depth 1 https://github.com/JuliaStrings/utf8proc.git -b v2.9.0
cd utf8proc
sed -i '' 's/^prefix=\/usr\/local/prefix=\$(HOME)\/usr\/local/' Makefile
make prefix=$BUILD_DIR
cd $BUILD_DIR/src
git clone --depth 1 --branch 3.3a https://github.com/tmux/tmux.git
cd $BUILD_DIR/src/tmux
./autogen.sh
./configure --prefix=$BUILD_DIR --enable-utf8proc
make -j7
make install