Base tmux
This commit is contained in:
parent
c58c802ac7
commit
e736a3f2ec
4 changed files with 26 additions and 1 deletions
|
@ -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
|
||||
|
|
6
tmux/.tmux.conf
Normal file
6
tmux/.tmux.conf
Normal file
|
@ -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
|
16
tmux/install.sh
Normal file
16
tmux/install.sh
Normal file
|
@ -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"
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue