diff --git a/install.sh b/install.sh index 2aab8cb..d8009ec 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ install_homebrew() { install_shared_applications() { brew install direnv fzf git stow the_silver_searcher tmux \ vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \ - awscli cmake jq watch gh nvim + awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp install_alacritty_terminfo install_rust @@ -87,7 +87,7 @@ install_linux() { packages="build-essential procps curl file git cmake pkg-config\ libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev\ - libxkbcommon-dev python3" + libxkbcommon-dev python3 libssl-dev xclip" dpkg -s $packages >/dev/null 2>&1 \ || sudo apt-get install --assume-yes $packages diff --git a/ruby_with_openssl3.sh b/ruby_with_openssl3.sh new file mode 100755 index 0000000..97942f3 --- /dev/null +++ b/ruby_with_openssl3.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +if [ $# -ne a]; then + echo Specify Ruby version + exit +fi + +major=$(echo $1 | cut -d. -f1) +minor=$(echo $1 | cut -d. -f2) +patch=$(echo $1 | cut -d. -f3) + +PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/bin:$PATH" \ + LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/openssl@3/lib" \ + CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/openssl@3/include" \ + PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig" \ + rbenv install $1 diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index e620262..2925b62 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -1,7 +1,7 @@ bind-key r source-file ~/.config/tmux/tmux.conf \; display-message " ✱ tmux.conf is reloaded" -set -g default-terminal "xterm-256color" -set -ag terminal-overrides ",alacritty:RGB" +set -g default-terminal "tmux-256color" +set -sa terminal-overrides ",xterm-256color:RGB" # for muxception bind-key b send-prefix @@ -37,3 +37,6 @@ bind h select-pane -L # left pane bind j select-pane -D # bottom pane bind k select-pane -U # top pane bind l select-pane -R # right pane + +# neovim +set-option -g focus-events on