Script for Ruby with openssl3 install
This commit is contained in:
parent
074e0891ac
commit
ceaa139ea0
3 changed files with 23 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
16
ruby_with_openssl3.sh
Executable file
16
ruby_with_openssl3.sh
Executable file
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue