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.
 
 
Petr Nyc 81f6289374 Doc on installing tmux plugins via script 8 months ago
.config alacritty config improvements 1 year ago
.hgstyle mercurial conf 3 years ago
.local/share/mc/skins midnight commander solarized themes 3 years ago
Library/Application Support/iTerm2/DynamicProfiles iTerm Solarized dark minimum contrast modification 2 years ago
bin 08.03.2024 Friday 09:56 2 years ago
.gitconfig Emacs setup information 1 year ago
.gitignore vim, tmux, zsh and git config files 3 years ago
.hgrc git email set to work email, uncommented hg aliases, vimrc plugin 1 year ago
.p10k.zsh Alacritty tmux bindings, pig and time for zsh prompt 1 year ago
.spacemacs Added spacemacs config file 1 year ago
.tmux.conf Added tmux panes synchronization 1 year ago
.vimrc bootstrap script take 1 1 year ago
.zshenv path for config 1 year ago
.zshrc added kubectl and helm plugins for oh-my-zsh 12 months ago
README.org next 1 year ago
bootstrap.sh Doc on installing tmux plugins via script 8 months ago

README.org

How to set up this configuration

Automated setup

    bash -c "$(curl -fsSL https://git.meinlschmidt.org/jetpac/dotfiles/raw/branch/main/bootstrap.sh)"

manual 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

  source ~/.proxies
  sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --unattended --skip-chsh --keep-zshrc"
  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

  vim +PlugInstall +qall

  zsh

  # 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

Emacs

  git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

Run Emacs and wait ~10 mins to download all packages

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