diff --git a/install.sh b/install.sh index b72d46e..969bf15 100644 --- a/install.sh +++ b/install.sh @@ -4,4 +4,5 @@ sudo bash konsole/install.sh sudo bash ag/install.sh sudo bash nvim/install.sh sudo bash autojump/install.sh +sudo bash tmux/install.sh sudo bash zsh/install.sh diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..4ec28a3 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,6 @@ +# Correct tab numbering +set -g base-index 1 + +# Mappings +bind-key v split-window -h +bind-key s split-window -v diff --git a/tmux/install.sh b/tmux/install.sh new file mode 100644 index 0000000..1ac8711 --- /dev/null +++ b/tmux/install.sh @@ -0,0 +1,16 @@ +#!/bin/bash +echo "🤔 Checking for Tmux installation..." +if tmux -V; then + echo "🥰 Tmux is already installed" +else + echo "🤩 Installing Tmux Terminal" + sudo apt-get install tmux + echo "👍 Tmux installed" +fi + +echo "🦄 Configuring Tmux" +if [ -f ~/.tmux.conf ]; then + rm ~/.tmux.conf +fi +ln -s ~/dotfiles/tmux/.tmux.conf ~/.tmux.conf +echo "👍 Tmux configured" diff --git a/zsh/.zshrc b/zsh/.zshrc index 6c25ac4..7364fea 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -8,7 +8,9 @@ COMPLETION_WAITING_DOTS="true" [[ -s ~/.autojump/etc/profile.d/autojump.sh ]] && source ~/.autojump/etc/profile.d/autojump.sh autoload -U compinit && compinit -u -plugins=(git zsh-autosuggestions autojump fancy-ctrl-z) +FRONTEND_SEARCH_FALLBACK='duckduckgo' + +plugins=(git zsh-autosuggestions autojump fancy-ctrl-z frontend-search tmux) source $ZSH/oh-my-zsh.sh