From a83151084c2d3e785f7a32a42128b18d7bc09036 Mon Sep 17 00:00:00 2001 From: Mia Steinkirch Date: Fri, 21 Jun 2019 10:53:30 -0700 Subject: [PATCH] add zsh config --- configs/README.md | 1 + configs/material-design-colors.itermcolors | 213 +++++++++++++++++++++ configs/tmux.conf | 9 +- configs/zshrc | 47 +++++ 4 files changed, 268 insertions(+), 2 deletions(-) create mode 100644 configs/README.md create mode 100644 configs/material-design-colors.itermcolors create mode 100644 configs/zshrc diff --git a/configs/README.md b/configs/README.md new file mode 100644 index 0000000..95a981a --- /dev/null +++ b/configs/README.md @@ -0,0 +1 @@ +## Configs and Setups diff --git a/configs/material-design-colors.itermcolors b/configs/material-design-colors.itermcolors new file mode 100644 index 0000000..a1e5cf9 --- /dev/null +++ b/configs/material-design-colors.itermcolors @@ -0,0 +1,213 @@ + + + + + Ansi 0 Color + + Blue Component + 0.40253299474716187 + Green Component + 0.35616019368171692 + Red Component + 0.26286587119102478 + + Ansi 1 Color + + Blue Component + 0.25575384497642517 + Green Component + 0.22098405659198761 + Red Component + 0.9871404767036438 + + Ansi 10 Color + + Blue Component + 0.74659085273742676 + Green Component + 0.96712285280227661 + Red Component + 0.67800694704055786 + + Ansi 11 Color + + Blue Component + 0.42511638998985291 + Green Component + 0.88262283802032471 + Red Component + 0.99765938520431519 + + Ansi 12 Color + + Blue Component + 0.99898606538772583 + Green Component + 0.81066548824310303 + Red Component + 0.43880558013916016 + + Ansi 13 Color + + Blue Component + 0.60766077041625977 + Green Component + 0.40164706110954285 + Red Component + 0.9887651801109314 + + Ansi 14 Color + + Blue Component + 0.90182536840438843 + Green Component + 1 + Red Component + 0.60292786359786987 + + Ansi 15 Color + + Blue Component + 0.99999129772186279 + Green Component + 0.99997437000274658 + Red Component + 1 + + Ansi 2 Color + + Blue Component + 0.62042194604873657 + Green Component + 0.94388872385025024 + Red Component + 0.36202818155288696 + + Ansi 3 Color + + Blue Component + 0.19727933406829834 + Green Component + 0.81672251224517822 + Red Component + 0.99627053737640381 + + Ansi 4 Color + + Blue Component + 0.99871528148651123 + Green Component + 0.7149810791015625 + Red Component + 0.215079665184021 + + Ansi 5 Color + + Blue Component + 0.43182668089866638 + Green Component + 0.13310989737510681 + Red Component + 0.986469566822052 + + Ansi 6 Color + + Blue Component + 0.82062870264053345 + Green Component + 1 + Red Component + 0.34860008955001831 + + Ansi 7 Color + + Blue Component + 0.99999129772186279 + Green Component + 0.99997437000274658 + Red Component + 1 + + Ansi 8 Color + + Blue Component + 0.72321081161499023 + Green Component + 0.69167852401733398 + Red Component + 0.63061976432800293 + + Ansi 9 Color + + Blue Component + 0.42818409204483032 + Green Component + 0.45310419797897339 + Red Component + 0.98958194255828857 + + Background Color + + Blue Component + 0.16608485579490662 + Green Component + 0.14745020866394043 + Red Component + 0.11278382688760757 + + Bold Color + + Blue Component + 0.91648769378662109 + Green Component + 0.91671288013458252 + Red Component + 0.91654461622238159 + + Cursor Color + + Blue Component + 0.91648769378662109 + Green Component + 0.91671288013458252 + Red Component + 0.91654461622238159 + + Cursor Text Color + + Blue Component + 0.0 + Green Component + 0.0 + Red Component + 0.0 + + Foreground Color + + Blue Component + 0.93115901947021484 + Green Component + 0.92142927646636963 + Red Component + 0.90730977058410645 + + Selected Text Color + + Blue Component + 0.93115901947021484 + Green Component + 0.92142927646636963 + Red Component + 0.90730977058410645 + + Selection Color + + Blue Component + 0.47096589207649231 + Green Component + 0.41462835669517517 + Red Component + 0.30659490823745728 + + + diff --git a/configs/tmux.conf b/configs/tmux.conf index d9522fe..7376887 100644 --- a/configs/tmux.conf +++ b/configs/tmux.conf @@ -19,14 +19,13 @@ set-option -g status-fg black setw -g monitor-activity off set -g visual-activity on - # Clock setw -g clock-mode-colour green setw -g clock-mode-style 24 + # make scrolling with wheels work bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" - # Mouse Support setw -g mouse @@ -54,5 +53,11 @@ set -g status-right "Impossible is a State of Mind" setw -g window-status-current-bg colour234 setw -g window-status-current-fg colour71 +# zsh +set-option -g default-shell ${SHELL} +set-option -g default-shell /bin/zsh + + new-session + diff --git a/configs/zshrc b/configs/zshrc new file mode 100644 index 0000000..3ebb71f --- /dev/null +++ b/configs/zshrc @@ -0,0 +1,47 @@ +# If you come from bash you might have to change your $PATH. +export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH=$HOME/.oh-my-zsh + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes +ZSH_THEME="robbyrussell" + +# Which plugins would you like to load? +plugins=(git extract web-search yum git-extras docker vagrant) + + +###################################################### +# PERSONAL ALIASES +###################################################### + +alias home='cd ~' +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' +alias mkdir='mkdir -p' +alias h='history' +alias j='jobs -l' +alias which='type -a' +alias ..='cd ..' +alias jup="jupyter notebook" +alias du='du -kh' # Makes a more readable output. +alias df='df -kTh' +alias dc="docker-compose" +alias dcrun="docker-compose run --rm" + + +###################################################### +# EXPORT OPTIONS +###################################################### + +export GREP_OPTIONS='--color=auto' +export GREP_COLOR='1;31' # green for matches +export CLICOLOR=230 +export HISTCONTROL=ignoredups + + +source $ZSH/oh-my-zsh.sh