Last active
August 18, 2020 14:58
-
-
Save geekish/bf0f65ce658eaf438033721078e98eee to your computer and use it in GitHub Desktop.
Homestead after scripts & dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if-shell "[[ ! -d ~/.tmux/plugins/tpm ]]" \ | |
'run-shell "mkdir -p ~/.tmux/plugins/tpm"; \ | |
run-shell "git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm"' | |
# set Zsh as your default Tmux shell | |
set-option -g default-shell /usr/bin/zsh | |
# Tmux should be pretty, we need 256 color for that | |
set -g default-terminal "screen-256color" | |
# Mouse support | |
set -g mouse on | |
set -g history-limit 10000 | |
set -g set-titles on | |
set-option -s escape-time 0 | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'dracula/tmux' | |
set -g @dracula-show-weather false | |
set -g @dracula-show-powerline true | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LANG=en_US.UTF-8 | |
source /usr/share/zsh-antigen/antigen.zsh | |
antigen use oh-my-zsh | |
antigen bundle jessarcher/zsh-artisan | |
antigen bundle tmux | |
antigen bundle zsh-users/zsh-autosuggestions | |
antigen bundle zsh-users/zsh-completions | |
antigen bundle zsh-users/zsh-history-substring-search | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
antigen theme dracula/zsh dracula | |
antigen apply | |
if [[ -r ~/.zshrc.local ]]; then | |
source ~/.zshrc.local | |
fi | |
export EDITOR='nano' | |
# Basic aliases | |
function cdl { cd "$1" && ls -a; } | |
alias chmod="chmod -Rv" | |
alias chown="chown -Rv" | |
alias chx="chmod a+x" | |
alias edit="sudo nano" | |
alias ls="ls -a" | |
alias mkdir="mkdir -p" | |
alias rmdir="rm -rf" # don't be stupid | |
alias mux=tmuxinator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
# | |
# If you have user-specific configurations you would like | |
# to apply, you may also create user-customizations.sh, | |
# which will be run after this script. | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install -y tmuxinator | |
# Because the apt package is STILL broken wtf | |
sudo curl -o /usr/share/zsh-antigen/antigen.zsh -sL git.io/antigen | |
curl -o /home/vagrant/.tmux.conf -sL https://gist.githubusercontent.com/geekish/bf0f65ce658eaf438033721078e98eee/raw/9f25f49c7cb772633927c52117768bae42c38cc0/.tmux.conf | |
curl -o /home/vagrant/.zshrc -sL https://gist.githubusercontent.com/geekish/bf0f65ce658eaf438033721078e98eee/raw/9f25f49c7cb772633927c52117768bae42c38cc0/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment